summaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-03-31 22:06:46 +0000
committerLennart Poettering <lennart@poettering.net>2008-03-31 22:06:46 +0000
commit79938c9f0039242805c9dd81e4b6b97c79047e34 (patch)
tree67e5eef5012bd178feb9a963c53e2aff798f6f44 /src/modules
parent6734fba80c672ff313fe3a273072a5fe61be0d0e (diff)
merge r2186 from prepare-0.9.10
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2202 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/module-tunnel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/module-tunnel.c b/src/modules/module-tunnel.c
index a53e3932..62dac5d3 100644
--- a/src/modules/module-tunnel.c
+++ b/src/modules/module-tunnel.c
@@ -723,7 +723,7 @@ static void sink_info_cb(pa_pdispatch *pd, uint32_t command, PA_GCC_UNUSED uint3
goto fail;
}
- if (strcmp(name, u->sink_name))
+ if (!u->sink_name || strcmp(name, u->sink_name))
return;
pa_xfree(u->device_description);
@@ -836,7 +836,7 @@ static void source_info_cb(pa_pdispatch *pd, uint32_t command, PA_GCC_UNUSED uin
goto fail;
}
- if (strcmp(name, u->source_name))
+ if (!u->source_name || strcmp(name, u->source_name))
return;
pa_xfree(u->device_description);