diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-03-04 22:07:56 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-03-04 22:07:56 +0100 |
commit | dcee8888650583abd106f818ee56d5dff9028bba (patch) | |
tree | 0c37a0f0d2766b5a00a74bc0d3a0a6d5b03a189a /src/pulsecore/protocol-esound.c | |
parent | 3dd8800e6d0ab1f11e981d368ec2bef38c88ce99 (diff) | |
parent | 656fc6660fac6ad4524fd2b679cbd35c69033d3b (diff) |
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Diffstat (limited to 'src/pulsecore/protocol-esound.c')
-rw-r--r-- | src/pulsecore/protocol-esound.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pulsecore/protocol-esound.c b/src/pulsecore/protocol-esound.c index 2d4e62fa..2b80c65f 100644 --- a/src/pulsecore/protocol-esound.c +++ b/src/pulsecore/protocol-esound.c @@ -6,7 +6,7 @@ PulseAudio is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published - by the Free Software Foundation; either version 2 of the License, + by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. PulseAudio is distributed in the hope that it will be useful, but @@ -1290,6 +1290,9 @@ static int connection_process_msg(pa_msgobject *o, int code, void*userdata, int6 connection *c = CONNECTION(o); connection_assert_ref(c); + if (!c->protocol) + return -1; + switch (code) { case CONNECTION_MESSAGE_REQUEST_DATA: do_work(c); |