summaryrefslogtreecommitdiffstats
path: root/src/polyp
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-05-11 11:30:55 +0000
committerPierre Ossman <ossman@cendio.se>2006-05-11 11:30:55 +0000
commit3890f0387fa75fa09da8938931c74cd88e070a53 (patch)
tree07f504215fe0122c51120f7edbe15217e81b750d /src/polyp
parent5328afe369b0a124bac4243abae4b53f1b3f58e2 (diff)
Remove some debug code that wasn't supposed to be committed.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@842 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polyp')
-rw-r--r--src/polyp/mainloop-signal.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/polyp/mainloop-signal.c b/src/polyp/mainloop-signal.c
index 6073dbb3..2c9484e4 100644
--- a/src/polyp/mainloop-signal.c
+++ b/src/polyp/mainloop-signal.c
@@ -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) {