OSDN Git Service

sockets: Drop sockets_debug debug code
authorMarkus Armbruster <armbru@redhat.com>
Tue, 7 Feb 2012 14:09:14 +0000 (15:09 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 24 Feb 2012 15:06:58 +0000 (09:06 -0600)
commit136faa362d2835998a04779696a504147cf410ce
treeb9aae846daab1540498d77a38281b00780e41c05
parentef0c4a0d89ff78bf1d0c257fb3c5613727dd8194
sockets: Drop sockets_debug debug code

I'm trying to improve this code's error reporting, and the debug code
is getting in my way: it clutters the code, it clobbers errno in
inconvenient places, and it uses the same fprintf() both for error
reporting and debug output in a few places.

Get rid of it.  Once decent error reporting is in place, adding back
whatever debug code we need shouldn't be hard.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-sockets.c