Fix for nbd-server uner xinetd
authorTom Cocagne <tom.cocagne@gmail.com>
Sat, 23 May 2009 10:30:36 +0000 (12:30 +0200)
committerWouter Verhelst <w@uter.be>
Sat, 23 May 2009 10:31:54 +0000 (12:31 +0200)
commit22cb7729a565b7d14e02ad77daaad9a24df42e87
treeb4b6b40a8e2a5ff3406c14e89ffff979260e0305
parent8bb98a97aebd911fbf768ab3d2bd6d18d68e178e
Fix for nbd-server uner xinetd

nbd-server currently fails under inetd due to GLib error messages being
reported over the data channel. The attached patch moves the configuration
file parsing warning to occur after the inetd special-case check and
redirects all GLib messages to the syslog (if --enable-syslog is used).
nbd-server.c