aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/share.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/share.c b/lib/share.c
index c1ce1aab1..870b191fc 100644
--- a/lib/share.c
+++ b/lib/share.c
@@ -103,7 +103,7 @@ curl_share_setopt(struct Curl_share *share, CURLSHoption option, ...)
case CURL_LOCK_DATA_CONNECT: /* not supported (yet) */
if(Curl_conncache_init(&share->conn_cache, 103))
- return CURLSHE_NOMEM;
+ res = CURLSHE_NOMEM;
break;
default: