From: Guenter Knauf Date: Thu, 29 Jul 2010 03:33:04 +0000 (+0200) Subject: Changed comparison to match size_t var type. X-Git-Tag: curl-7_21_1~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d873c820bd63247eb4fffcc3958d8c164b4c077e;p=curl Changed comparison to match size_t var type. --- diff --git a/lib/smtp.c b/lib/smtp.c index b010a26fe..edc3ff659 100644 --- a/lib/smtp.c +++ b/lib/smtp.c @@ -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);