mirror of
https://github.com/curl/curl.git
synced 2026-06-02 01:44:32 +03:00
http_negotiate_sspi.c: fix compiler warning
warning C4706: assignment within conditional expression
This commit is contained in:
parent
b4d6db83de
commit
08b05efd20
1 changed files with 5 additions and 3 deletions
|
|
@ -127,9 +127,11 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy,
|
|||
return -1;
|
||||
}
|
||||
|
||||
if(strlen(neg_ctx->server_name) == 0 &&
|
||||
(ret = get_gss_name(conn, proxy, neg_ctx)))
|
||||
return ret;
|
||||
if(0 == strlen(neg_ctx->server_name)) {
|
||||
ret = get_gss_name(conn, proxy, neg_ctx);
|
||||
if(ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
if(!neg_ctx->output_token) {
|
||||
PSecPkgInfo SecurityPackage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue