Loading lib/download.c +8 −1 Original line number Diff line number Diff line Loading @@ -194,6 +194,13 @@ Transfer (struct UrlData *data, switch (select (maxfd, &readfd, &writefd, NULL, &interval)) { case -1: /* select() error, stop reading */ #ifdef EINTR /* The EINTR is not serious, and it seems you might get this more ofen when using the lib in a multi-threaded environment! */ if(errno == EINTR) ; else #endif keepon = 0; /* no more read or write */ continue; case 0: /* timeout */ Loading Loading
lib/download.c +8 −1 Original line number Diff line number Diff line Loading @@ -194,6 +194,13 @@ Transfer (struct UrlData *data, switch (select (maxfd, &readfd, &writefd, NULL, &interval)) { case -1: /* select() error, stop reading */ #ifdef EINTR /* The EINTR is not serious, and it seems you might get this more ofen when using the lib in a multi-threaded environment! */ if(errno == EINTR) ; else #endif keepon = 0; /* no more read or write */ continue; case 0: /* timeout */ Loading