diff options
author | acheronfail <acheronfail@gmail.com> | 2022-09-09 14:45:49 +0930 |
---|---|---|
committer | PulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org> | 2022-09-27 08:58:50 +0000 |
commit | 45df212d6614ad7f57d9e53616c0faac00195c86 (patch) | |
tree | 1d78dfbe6bb4bd771e01e88a7c79be10d1ecf455 | |
parent | 68a0603d7688e7908d7178ea749428ab2c453a35 (diff) | |
download | pulseaudio-45df212d6614ad7f57d9e53616c0faac00195c86.tar.gz |
pactl: SUBSCRIBE add a newline after every json message
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/748>
-rw-r--r-- | src/utils/pactl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/pactl.c b/src/utils/pactl.c index 2761ebaaf..9e343954f 100644 --- a/src/utils/pactl.c +++ b/src/utils/pactl.c @@ -2200,7 +2200,7 @@ static void context_subscribe_callback(pa_context *c, pa_subscription_event_type pa_json_encoder_end_object(encoder); char* json_str = pa_json_encoder_to_string_free(encoder); - printf("%s", json_str); + printf("%s\n", json_str); pa_xfree(json_str); } else { printf(_("Event '%s' on %s #%u\n"), |