X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fproto.c;h=c22bbee4744abfbd28acafba255652a729b16969;hp=c0e3927555b7ea91114b6f60e8546d31acea8cf2;hb=d5fad33b4eaa39722ea1dc96de9446ffc4805e01;hpb=da0a4f8d1f6ddd302ceba028d87c6e009589e503;ds=sidebyside diff --git a/daemon/proto.c b/daemon/proto.c index c0e3927..c22bbee 100644 --- a/daemon/proto.c +++ b/daemon/proto.c @@ -29,6 +29,8 @@ #include #include +#include "ignore-value.h" + #include "daemon.h" #include "../src/guestfs_protocol.h" @@ -53,13 +55,11 @@ main_loop (int _sock) sock = _sock; for (;;) { -#if 0 /* Most common errors are leaked memory and leaked file descriptors, * so run this between each command: */ - if (verbose) - system ("ls -l /proc/self/fd"); -#endif + if (verbose && 0) + ignore_value (system ("ls -l /proc/self/fd")); /* Read the length word. */ if (xread (sock, lenbuf, 4) == -1)