[pulseaudio-commits] r2202 - /trunk/src/modules/module-tunnel.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Mon Mar 31 15:06:47 PDT 2008


Author: lennart
Date: Tue Apr  1 00:06:46 2008
New Revision: 2202

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2202&root=pulseaudio&view=rev
Log:
merge r2186 from prepare-0.9.10

Modified:
    trunk/src/modules/module-tunnel.c

Modified: trunk/src/modules/module-tunnel.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-tunnel.c?rev=2202&root=pulseaudio&r1=2201&r2=2202&view=diff
==============================================================================
--- trunk/src/modules/module-tunnel.c (original)
+++ trunk/src/modules/module-tunnel.c Tue Apr  1 00:06:46 2008
@@ -723,7 +723,7 @@
         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 @@
         goto fail;
     }
 
-    if (strcmp(name, u->source_name))
+    if (!u->source_name || strcmp(name, u->source_name))
         return;
 
     pa_xfree(u->device_description);




More information about the pulseaudio-commits mailing list