Loading lib/easy.c +13 −9 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading Loading @@ -541,6 +541,7 @@ static int events_socket(CURL *easy, /* easy handle */ } else { m = malloc(sizeof(struct socketmonitor)); if(m) { m->next = ev->list; m->socket.fd = s; m->socket.events = socketcb2poll(what); Loading @@ -550,6 +551,9 @@ static int events_socket(CURL *easy, /* easy handle */ what&CURL_POLL_IN?"IN":"", what&CURL_POLL_OUT?"OUT":""); } else return CURLE_OUT_OF_MEMORY; } } return 0; Loading Loading
lib/easy.c +13 −9 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading Loading @@ -541,6 +541,7 @@ static int events_socket(CURL *easy, /* easy handle */ } else { m = malloc(sizeof(struct socketmonitor)); if(m) { m->next = ev->list; m->socket.fd = s; m->socket.events = socketcb2poll(what); Loading @@ -550,6 +551,9 @@ static int events_socket(CURL *easy, /* easy handle */ what&CURL_POLL_IN?"IN":"", what&CURL_POLL_OUT?"OUT":""); } else return CURLE_OUT_OF_MEMORY; } } return 0; Loading