diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2019-11-04 12:21:38 +0100 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2019-11-04 12:21:38 +0100 |
commit | fa1ae45491a8e41ccde4e0b366c37ec2a067bae9 (patch) | |
tree | 0a54d3746f3472aaad06b903829cb241850a39f7 /client.c | |
parent | cf6fbbec9e2a04217a135924fd2bf209be488223 (diff) |
Let xxd take stream argument
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ int main(void) { if (FD_ISSET(d_fd, &inset) && icmpd_peek(d)) { struct icmpd_received msg = icmpd_recv(d); printf("Recv: %zu\n", msg.length); - xxd(msg.data, msg.length); + xxd(stdout, msg.data, msg.length); } } } |