summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-06-09 14:07:53 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-06-09 14:07:53 +0200
commitd2010b2aa5444636808ba6c9b704daff0de9276c (patch)
tree727753e2210b61c676feab74b5f121838ab724d7
parent4981fae7f158152fca01bddb042231f9f8343d58 (diff)
downloadcurl-d2010b2aa5444636808ba6c9b704daff0de9276c.tar.gz
fixup return code to fix compiler error
-rw-r--r--lib/multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c
index ba1009b5f..d169a08dc 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -2322,7 +2322,7 @@ static CURLMcode singlesocket(struct Curl_multi *multi,
/* add 'data' to the transfer hash on this socket! */
if(!Curl_hash_add(&entry->transfers, (char *)data, /* hash key */
sizeof(struct Curl_easy *), data))
- return CURLE_OUT_OF_MEMORY;
+ return CURLM_OUT_OF_MEMORY;
}
comboaction = (entry->writers? CURL_POLL_OUT : 0) |