mirror of
https://github.com/curl/curl.git
synced 2026-07-16 05:17:19 +03:00
conncache: fix a return code [regression]
This broke in 07cb27c98e. Make sure to return 'result' properly. Pointed
out by scan-build!
This commit is contained in:
parent
5d0ba70e17
commit
41982b6ac9
1 changed files with 1 additions and 1 deletions
|
|
@ -307,7 +307,7 @@ CURLcode Curl_conncache_add_conn(struct conncache *connc,
|
|||
unlock:
|
||||
CONN_UNLOCK(data);
|
||||
|
||||
return CURLE_OK;
|
||||
return result;
|
||||
}
|
||||
|
||||
void Curl_conncache_remove_conn(struct connectdata *conn, bool lock)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue