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

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Mon Oct 29 17:49:51 PDT 2007


Author: lennart
Date: Tue Oct 30 01:49:50 2007
New Revision: 1994

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1994&root=pulseaudio&view=rev
Log:
initialize userdata struct with 0

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=1994&root=pulseaudio&r1=1993&r2=1994&view=diff
==============================================================================
--- trunk/src/modules/module-tunnel.c (original)
+++ trunk/src/modules/module-tunnel.c Tue Oct 30 01:49:50 2007
@@ -448,7 +448,7 @@
         if (command == PA_COMMAND_ERROR)
             pa_log("Failed to get latency.");
         else
-            pa_log("Protocol error.");
+            pa_log("Protocol error 1.");
         goto fail;
     }
 
@@ -590,7 +590,7 @@
         if (command == PA_COMMAND_ERROR)
             pa_log("Failed to get info.");
         else
-            pa_log("Protocol error.");
+            pa_log("Protocol error 2.");
         goto fail;
     }
 
@@ -695,7 +695,7 @@
         if (command == PA_COMMAND_ERROR)
             pa_log("Failed to create stream.");
         else
-            pa_log("Protocol error.");
+            pa_log("Protocol error 3.");
         goto fail;
     }
 
@@ -773,7 +773,7 @@
         if (command == PA_COMMAND_ERROR)
             pa_log("Failed to authenticate");
         else
-            pa_log("Protocol error.");
+            pa_log("Protocol error 4.");
 
         goto fail;
     }
@@ -1038,7 +1038,7 @@
         goto fail;
     }
 
-    u = pa_xnew(struct userdata, 1);
+    u = pa_xnew0(struct userdata, 1);
     m->userdata = u;
     u->module = m;
     u->core = m->core;




More information about the pulseaudio-commits mailing list