nbd-server: move connection handling code to a separate function
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 21 Jun 2012 21:41:44 +0000 (01:41 +0400)
committerWouter Verhelst <w@uter.be>
Sat, 23 Jun 2012 23:38:34 +0000 (01:38 +0200)
commit43fa145cc7f0b50cd74c318c27bc00415c6a8499
tree4fd817b2b1f519fe04ed7c8bdb20a888c99e6e38
parentabe1977070e2c71d82f473c6d3aa807b489c7fb0
nbd-server: move connection handling code to a separate function

The serveloop function has grown too much, and the indentation of
connection handling code unnecessarily complicates further changes.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
nbd-server.c