From d873c820bd63247eb4fffcc3958d8c164b4c077e Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Thu, 29 Jul 2010 05:33:04 +0200 Subject: Changed comparison to match size_t var type. --- lib/smtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/smtp.c') 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); -- cgit v1.2.3