commit 9ac77d0c9a4d13ce884a2365ef29053ffd0f0714
parent e54886960e6a274ba6799854d642e379347c11bd
Author: Joris Vink <joris@coders.se>
Date: Sun, 28 Apr 2019 21:44:59 +0200
make sure CURL_CSELECT_ERR is OR'd into flags.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/curl.c b/src/curl.c
@@ -579,7 +579,7 @@ curl_event_handle(void *arg, int eof)
flags |= CURL_CSELECT_OUT;
if (eof)
- flags = CURL_CSELECT_ERR;
+ flags |= CURL_CSELECT_ERR;
res = curl_multi_socket_action(multi, fdc->fd, flags, &running);
if (res != CURLM_OK)