mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
multi: fix the return code from Curl_pgrsDone()
It does not return a CURLcode. Detected by the icc compiler warning "enumerated type mixed with another type" Closes #9179
This commit is contained in:
parent
74d47e22aa
commit
4c57fdcf87
@ -629,7 +629,7 @@ static CURLcode multi_done(struct Curl_easy *data,
|
||||
if(CURLE_ABORTED_BY_CALLBACK != result) {
|
||||
/* avoid this if we already aborted by callback to avoid this calling
|
||||
another callback */
|
||||
CURLcode rc = Curl_pgrsDone(data);
|
||||
int rc = Curl_pgrsDone(data);
|
||||
if(!result && rc)
|
||||
result = CURLE_ABORTED_BY_CALLBACK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user