summaryrefslogtreecommitdiffstats
path: root/src/modules/module-tunnel.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-03-31 23:08:01 +0000
committerLennart Poettering <lennart@poettering.net>2008-03-31 23:08:01 +0000
commitecf643966111387953cbfd0bce7f39b6c3d8116a (patch)
tree42ee50476576392c97ced9785ab2786958f94c71 /src/modules/module-tunnel.c
parent106ddb9211a98dec764ca45ca02b46c31354e631 (diff)
catch up with trunk HEAD (i.e. 2118:2213)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2214 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/modules/module-tunnel.c')
-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 2da2d134..5483be39 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);