ctl-client: Don't print "<<null>" for events with no params
It's inconsistent and doesn't seem helpful either.wayvncctl-polishing
parent
bc647a19c0
commit
018d42db8a
|
@ -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