Displaying 1 result from an estimated 1 matches for "817a995".
Did you mean:
17995
2009 Sep 17
2
[PATCH] Fix verbose packet dumping functions.
...ocol. Because
it is normally commented out, I found it had bit-rotted slightly.
This commit fixes the obvious problems.
---
daemon/proto.c | 4 ++--
src/guestfs.c | 12 ++++++------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/daemon/proto.c b/daemon/proto.c
index 431f219..817a995 100644
--- a/daemon/proto.c
+++ b/daemon/proto.c
@@ -83,10 +83,10 @@ main_loop (int _sock)
#if 0
if (verbose) {
- int i, j;
+ size_t i, j;
for (i = 0; i < len; i += 16) {
- printf ("%04x: ", i);
+ printf ("%04zx: ", i);
for (j...