From: Andre Noll Date: Sat, 12 Apr 2008 05:31:57 +0000 (+0200) Subject: Do not call vss_post_select() if para_select() failed. X-Git-Tag: v0.3.3~100 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=2b0a73528822a4af212283dafb5e911f5c0c0669;p=paraslash.git Do not call vss_post_select() if para_select() failed. --- diff --git a/server.c b/server.c index 4765cff4..ee1638d5 100644 --- a/server.c +++ b/server.c @@ -492,9 +492,9 @@ repeat: mmd_unlock(); ret = para_select(max_fileno + 1, &rfds, &wfds, timeout); mmd_lock(); - vss_post_select(&rfds, &wfds); if (ret < 0) goto repeat; + vss_post_select(&rfds, &wfds); for (i = 0; senders[i].name; i++) { if (!senders[i].post_select) continue;