X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fproto.c;h=93d33c2c5c395c3fd6c031159e5f550ed0dbfe9d;hb=d19ceb226c242844467b2935c1e19b989b4315e8;hp=131c66be128d116b1c5837db35a7dc6530c29fb0;hpb=d134143b55ecb5f7e6f74318acbf04f9e1370af6;p=libguestfs.git diff --git a/daemon/proto.c b/daemon/proto.c index 131c66b..93d33c2 100644 --- a/daemon/proto.c +++ b/daemon/proto.c @@ -25,6 +25,7 @@ #include #include #include +#include /* defines MIN */ #include #include @@ -34,7 +35,7 @@ /* XXX We should make this configurable from /proc/cmdline so that the * verbose setting of the guestfs_h can be inherited here. */ -#define DEBUG 1 +#define DEBUG 0 /* The message currently being processed. */ int proc_nr; @@ -78,8 +79,6 @@ main_loop (int _sock) #if DEBUG int i, j; -#define MIN(a,b) ((a)<(b)?(a):(b)) - for (i = 0; i < len; i += 16) { printf ("%04x: ", i); for (j = i; j < MIN (i+16, len); ++j)