[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] pactl: SUBSCRIBE add a newline after every json message
PulseAudio Marge Bot (@pulseaudio-merge-bot)
gitlab at gitlab.freedesktop.org
Tue Sep 27 09:01:43 UTC 2022
PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio
Commits:
45df212d by acheronfail at 2022-09-27T08:58:50+00:00
pactl: SUBSCRIBE add a newline after every json message
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/748>
- - - - -
1 changed file:
- src/utils/pactl.c
Changes:
=====================================
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"),
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/45df212d6614ad7f57d9e53616c0faac00195c86
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/45df212d6614ad7f57d9e53616c0faac00195c86
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20220927/0394b85b/attachment-0001.htm>
More information about the pulseaudio-commits
mailing list