From 1770a8b62bf692be37c719cd18a03654dcc567a6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 26 Dec 2009 12:18:16 -0800 Subject: A NULL Pulse context won't have a valid error code --- Alc/pulseaudio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Alc') diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c index 57438bb7..1d3e38f8 100644 --- a/Alc/pulseaudio.c +++ b/Alc/pulseaudio.c @@ -400,8 +400,7 @@ static ALCboolean pulse_open(ALCdevice *device, const ALCchar *device_name) //{{ data->context = ppa_context_new(ppa_threaded_mainloop_get_api(data->loop), data->context_name); if(!data->context) { - AL_PRINT("pa_context_new() failed: %s\n", - ppa_strerror(ppa_context_errno(data->context))); + AL_PRINT("pa_context_new() failed\n"); ppa_threaded_mainloop_unlock(data->loop); goto out; -- cgit v1.2.3