[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r6518 - GNUnet/src/applications/bootstrap_http
From: |
gnunet |
Subject: |
[GNUnet-SVN] r6518 - GNUnet/src/applications/bootstrap_http |
Date: |
Sun, 2 Mar 2008 15:57:33 -0700 (MST) |
Author: grothoff
Date: 2008-03-02 15:57:32 -0700 (Sun, 02 Mar 2008)
New Revision: 6518
Modified:
GNUnet/src/applications/bootstrap_http/http.c
Log:
check
Modified: GNUnet/src/applications/bootstrap_http/http.c
===================================================================
--- GNUnet/src/applications/bootstrap_http/http.c 2008-03-02 22:33:33 UTC
(rev 6517)
+++ GNUnet/src/applications/bootstrap_http/http.c 2008-03-02 22:57:32 UTC
(rev 6518)
@@ -145,6 +145,7 @@
fd_set ws;
fd_set es;
int max;
+ int sret;
struct timeval tv;
int running;
struct CURLMsg *msg;
@@ -300,7 +301,15 @@
delay in the reaction than hanging... */
tv.tv_sec = 0;
tv.tv_usec = 1000;
- SELECT (max + 1, &rs, &ws, &es, &tv);
+ sret = SELECT (max + 1, &rs, &ws, &es, &tv);
+ if (sret == -1)
+ {
+ GNUNET_GE_LOG_STRERROR (ectx,
+ GNUNET_GE_ERROR | GNUNET_GE_ADMIN |
GNUNET_GE_USER |
+ GNUNET_GE_BULK,
+ "select");
+ goto cleanup;
+ }
if (GNUNET_YES != termTest (targ))
break;
do
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r6518 - GNUnet/src/applications/bootstrap_http,
gnunet <=