summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2006-11-29 14:32:28 -0500
committerKristian Høgsberg <krh@redhat.com>2006-11-29 14:32:28 -0500
commite3e7c833dbf4300a5370c84c08ffd9e3e0e0fda4 (patch)
tree15ae68c2f34b6bc51460cdc78a6563d1dab6b918
parentdf02d8c052e86a19fc393a0d3edb06235b9bd579 (diff)
Fix transaction and stats view.
-rw-r--r--nosy-dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nosy-dump.c b/nosy-dump.c
index 00dd1e1..1f3f74d 100644
--- a/nosy-dump.c
+++ b/nosy-dump.c
@@ -1187,13 +1187,13 @@ int main(int argc, const char *argv[])
switch (view) {
case VIEW_TRANSACTION:
- handle_packet(buf + 4, length - 4);
+ handle_packet(buf, length);
break;
case VIEW_PACKET:
print_packet(buf, length);
break;
case VIEW_STATS:
- print_stats(buf + 4, length - 4);
+ print_stats(buf, length);
break;
}
}