[polypaudio-commits] r842 - /trunk/src/polyp/mainloop-signal.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu May 11 04:30:56 PDT 2006


Author: ossman
Date: Thu May 11 13:30:55 2006
New Revision: 842

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=842&root=polypaudio&view=rev
Log:
Remove some debug code that wasn't supposed to be committed.

Modified:
    trunk/src/polyp/mainloop-signal.c

Modified: trunk/src/polyp/mainloop-signal.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polyp/mainloop-signal.c?rev=842&root=polypaudio&r1=841&r2=842&view=diff
==============================================================================
--- trunk/src/polyp/mainloop-signal.c (original)
+++ trunk/src/polyp/mainloop-signal.c Thu May 11 13:30:55 2006
@@ -62,14 +62,10 @@
 static pa_signal_event *signals = NULL;
 
 static void signal_handler(int sig) {
-    int result;
 #ifndef HAVE_SIGACTION
     signal(sig, signal_handler);
 #endif
-    pa_log(__FILE__": Got signal %d", sig);
-    result = pa_write(signal_pipe[1], &sig, sizeof(sig));
-    if (result != sizeof(sig))
-        pa_log(__FILE__": Bad write (%d, %d)", result, WSAGetLastError());
+    pa_write(signal_pipe[1], &sig, sizeof(sig));
 }
 
 static void dispatch(pa_mainloop_api*a, int sig) {




More information about the pulseaudio-commits mailing list