mirror of
https://github.com/curl/curl.git
synced 2026-06-06 16:44:16 +03:00
tidy-up: replace (1 != expressions 4
This commit is contained in:
parent
601c399801
commit
54b790c5df
1 changed files with 1 additions and 1 deletions
|
|
@ -431,7 +431,7 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(struct Curl_cfilter *cf,
|
|||
memcpy(socksreq, &gss_enc, 1);
|
||||
code = Curl_conn_cf_send(cf->next, data, (char *)socksreq, 1, FALSE,
|
||||
&nwritten);
|
||||
if(code || (1 != nwritten)) {
|
||||
if(code || (nwritten != 1)) {
|
||||
failf(data, "Failed to send GSS-API encryption type.");
|
||||
Curl_gss_delete_sec_context(&gss_status, &gss_context, NULL);
|
||||
return CURLE_COULDNT_CONNECT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue