Remove some debug code that wasn't supposed to be committed.
authorPierre Ossman <ossman@cendio.se>
Thu, 11 May 2006 11:30:55 +0000 (11:30 +0000)
committerPierre Ossman <ossman@cendio.se>
Thu, 11 May 2006 11:30:55 +0000 (11:30 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@842 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/polyp/mainloop-signal.c

index 6073dbb..2c9484e 100644 (file)
@@ -62,14 +62,10 @@ static pa_io_event* io_event = NULL;
 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) {