1
0
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:
Guenter Knauf 2010-07-29 05:33:04 +02:00
parent 41cf1f4090
commit d873c820bd

View File

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