diff options
-rw-r--r-- | backends/pulse/pulse-connection.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/pulse/pulse-connection.c b/backends/pulse/pulse-connection.c index b8ca8c5..6a745f8 100644 --- a/backends/pulse/pulse-connection.c +++ b/backends/pulse/pulse-connection.c @@ -1467,6 +1467,11 @@ pulse_server_info_cb (pa_context *c, { PulseConnection *connection; + if (! info) { + g_warning ("Failed to get PulseAudio server information: %s", pa_strerror (pa_context_errno (c))); + return; + } + connection = PULSE_CONNECTION (userdata); g_signal_emit (G_OBJECT (connection), |