ctl-client: Don't print "<<null>" for events with no params

It's inconsistent and doesn't seem helpful either.
srht-ci
Andri Yngvason 2023-01-15 17:32:39 +00:00
parent 5d1421a063
commit aa96103ae8
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }