mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:43:33 +03:00
tidy-up: rename more CURLcode variables to result
Follow-up to 885b553545 #21348
Closes #21676
This commit is contained in:
parent
1fb734bc2d
commit
000de81fb1
11 changed files with 277 additions and 274 deletions
10
lib/multi.c
10
lib/multi.c
|
|
@ -2648,17 +2648,17 @@ static CURLMcode multistate_did(struct Curl_multi *multi,
|
|||
return CURLM_CALL_MULTI_PERFORM;
|
||||
}
|
||||
|
||||
static CURLMcode multistate_done(struct Curl_easy *data, CURLcode *result)
|
||||
static CURLMcode multistate_done(struct Curl_easy *data, CURLcode *presult)
|
||||
{
|
||||
if(data->conn) {
|
||||
CURLcode res;
|
||||
CURLcode result;
|
||||
|
||||
/* post-transfer command */
|
||||
res = multi_done(data, *result, FALSE);
|
||||
result = multi_done(data, *presult, FALSE);
|
||||
|
||||
/* allow a previously set error code take precedence */
|
||||
if(!(*result))
|
||||
*result = res;
|
||||
if(!(*presult))
|
||||
*presult = result;
|
||||
}
|
||||
|
||||
#ifndef CURL_DISABLE_FTP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue