From: David Given Date: Fri, 14 Oct 2016 21:19:25 +0000 (+0200) Subject: Log empty hops. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=886adb86d741d3d985eb89439911fc5732f2aec4;p=ack.git Log empty hops. --- diff --git a/mach/proto/mcg/hop.c b/mach/proto/mcg/hop.c index f9873136b..b42cd9548 100644 --- a/mach/proto/mcg/hop.c +++ b/mach/proto/mcg/hop.c @@ -178,7 +178,14 @@ void hop_print(char k, struct hop* hop) hop_render(hop); + print_header(k, hop); + p = strtok(buffer, "\n"); + if (!p) + { + print_header(k, hop); + tracef(k, "\n"); + } while (p) { print_header(k, hop);