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:
Daniel Stenberg 2022-07-20 12:13:02 +02:00
parent 74d47e22aa
commit 4c57fdcf87
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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;
}