From da42a450764cbbb98472de3aa4519ecff6111d82 Mon Sep 17 00:00:00 2001 From: Matthijs Mekking Date: Thu, 22 Sep 2011 13:43:31 +0000 Subject: [PATCH] hexdumping is something for more verbose option --- examples/ldns-notify.c | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/examples/ldns-notify.c b/examples/ldns-notify.c index 258dc09b..39db1030 100644 --- a/examples/ldns-notify.c +++ b/examples/ldns-notify.c @@ -137,10 +137,12 @@ notify_host(int s, struct addrinfo* res, uint8_t* wire, size_t wiresize, ssize_t i; printf("Could not parse reply packet: %s\n", ldns_get_errorstr_by_id(status)); - printf("hexdump of reply: "); - for(i=0; i 1) { + printf("hexdump of reply: "); + for(i=0; i 1) { + printf("hexdump of reply: "); + for(i=0; i 1) { printf("Hexdump of notify packet:\n"); for(i=0; i<(int)wiresize; i++) printf("%02x", (unsigned)wire[i]); -- 2.47.3