mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
Changed comparison to match size_t var type.
This commit is contained in:
parent
41cf1f4090
commit
d873c820bd
@ -576,7 +576,7 @@ static CURLcode smtp_state_authlogin_resp(struct connectdata *conn,
|
|||||||
else {
|
else {
|
||||||
l = smtp_auth_login_user(conn, &authuser);
|
l = smtp_auth_login_user(conn, &authuser);
|
||||||
|
|
||||||
if(l <= 0)
|
if(!l)
|
||||||
result = CURLE_OUT_OF_MEMORY;
|
result = CURLE_OUT_OF_MEMORY;
|
||||||
else {
|
else {
|
||||||
result = Curl_pp_sendf(&conn->proto.smtpc.pp, "%s", authuser);
|
result = Curl_pp_sendf(&conn->proto.smtpc.pp, "%s", authuser);
|
||||||
|
Loading…
Reference in New Issue
Block a user