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

It's inconsistent and doesn't seem helpful either.
wayvncctl-polishing
Andri Yngvason 2023-01-15 17:32:39 +00:00
parent bc647a19c0
commit 018d42db8a
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)
print_for_human(event->params, 1, true);
else
printf("<<null>\n");
printf("\n");
}
fflush(stdout);
}