1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05: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 {
l = smtp_auth_login_user(conn, &authuser);
if(l <= 0)
if(!l)
result = CURLE_OUT_OF_MEMORY;
else {
result = Curl_pp_sendf(&conn->proto.smtpc.pp, "%s", authuser);