X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=audiod.c;h=a78ccd68a8e4dddd912f7f6ee6933ad092e29ea1;hp=61711dc3f5591d9396ebe62496871404834dea47;hb=3e4e5c000805b8bebf431d6e0431940fa17886ad;hpb=8f2cf66189cc863c3af702f78bb68596f2f3ef12 diff --git a/audiod.c b/audiod.c index 61711dc3..a78ccd68 100644 --- a/audiod.c +++ b/audiod.c @@ -809,7 +809,7 @@ static void check_stat_line(char *line) long unsigned sec, usec; char *tmp; - PARA_INFO_LOG("line: %s\n", line); +// PARA_INFO_LOG("line: %s\n", line); if (!line) return; itemnum = stat_line_valid(line); @@ -1561,6 +1561,7 @@ static void __noreturn audiod_mainloop(void) repeat: FD_ZERO(&wfds); FD_ZERO(&rfds); + max_fileno = -1; /* always check signal pipe and the local socket */ para_fd_set(signal_pipe, &rfds, &max_fileno); para_fd_set(audiod_socket, &rfds, &max_fileno); @@ -1643,7 +1644,6 @@ int __noreturn main(int argc, char *argv[]) char *cf; int i; - fprintf(stderr, "argc: %d\n", argc); valid_fd_012(); hostname = para_hostname(); cmdline_parser(argc, argv, &conf);