diff options
-rw-r--r-- | nosy-dump.c | 4 |
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; } } |