Report bound port correctly
commitc7c001d943fc17a55b64d82344de0793f101ea4e
authorChoHag <chohag@jtan.com>
Mon, 27 Nov 2017 04:24:08 +0000 (27 04:24 +0000)
committerKeith Rarick <kr@xph.us>
Mon, 27 Nov 2017 04:24:08 +0000 (26 20:24 -0800)
treec43313a52b0aa1dbc31698f896e88219b2294ac6
parent9f692dc0c1c43b333e1e4a6cc384128bf510651e
Report bound port correctly

When binding to port 0 beanstalk correctly binds
to a random port but doesn't report which port it
bound to, reporting 0 instead. This patch fixes that.
net.c