From 886adb86d741d3d985eb89439911fc5732f2aec4 Mon Sep 17 00:00:00 2001 From: David Given Date: Fri, 14 Oct 2016 23:19:25 +0200 Subject: [PATCH] Log empty hops. --- mach/proto/mcg/hop.c | 7 +++++++ 1 file changed, 7 insertions(+) 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);