]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3803 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 12 Jan 2012 20:17:23 +0000 (14:17 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 12 Jan 2012 20:17:23 +0000 (14:17 -0600)
libs/curl/lib/select.c

index 0f95921513ce4c03dc368a0331ec3c758d70effa..1abe49ffb748cc2537e1300127f6774774f25fbb 100644 (file)
@@ -124,7 +124,7 @@ int Curl_select(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms)
   if (writefd != CURL_SOCKET_BAD) {
     if (pfd[num].revents & POLLOUT)
       ret |= CSELECT_OUT;
-    if (pfd[num].revents & POLLERR)
+       if (pfd[num].revents & (POLLERR|POLLHUP)) 
       ret |= CSELECT_ERR;
   }