ctl-client: Don't print "<<null>" for events with no params
It's inconsistent and doesn't seem helpful either.srht-ci
parent
5d1421a063
commit
aa96103ae8
|
@ -565,7 +565,7 @@ static void print_event(struct jsonipc_request* event, unsigned flags)
|
||||||
if (event->params)
|
if (event->params)
|
||||||
print_for_human(event->params, 1, true);
|
print_for_human(event->params, 1, true);
|
||||||
else
|
else
|
||||||
printf("<<null>\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue