X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sdl_gui.c;h=a1381c2f202b0f7e9fd5c2e1003203129ea60fcf;hp=d0b83f09a3cf8a9b81b2f2e5f78d3465be3d998d;hb=d7cda933daa35663b2b9b61d62cb514afa37fd18;hpb=f2a7b00cf72104a38733b7bf3add9fb19dd71c93 diff --git a/sdl_gui.c b/sdl_gui.c index d0b83f09..a1381c2f 100644 --- a/sdl_gui.c +++ b/sdl_gui.c @@ -699,13 +699,11 @@ static int draw_status(int pipe) tv.tv_usec = 3000000; FD_ZERO(&rfds); FD_SET(pipe, &rfds); - ret = select(pipe + 1, &rfds, NULL, NULL, &tv); -// printf("select returned %d\n", ret); + ret = para_select(pipe + 1, &rfds, NULL, &tv); if (ret <= 0) return 0; if (read_audiod_pipe(pipe, update_status) > 0) return 1; -// clear_all_items(); free(stat_items[SI_STATUS_BAR].content); stat_items[SI_STATUS_BAR].content = para_strdup("audiod not running!?\n");