← Commit list

44ede0cc5a

Daniel Stenberg
Daniel Stenberg
2026-05-17
SUCCESS Duration: 258s

Subject

url: remove superfluous check

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/url.c+1 -2
@@ -2200,10 +2200,9 @@ static CURLcode override_login(struct Curl_easy *data,
if(result)
goto out;
}
- else if(data->state.creds) {
+ else
/* only search when something is still missing */
Curl_creds_link(&ncreds_in, data->state.creds);
- }
break;
default:
/* ignore credentials from other sources */