commit | d873c820bd63247eb4fffcc3958d8c164b4c077e | [log] [tgz] |
---|---|---|
author | Guenter Knauf <lists@gknw.net> | Thu Jul 29 05:33:04 2010 +0200 |
committer | Guenter Knauf <lists@gknw.net> | Thu Jul 29 05:33:04 2010 +0200 |
tree | 1a4908ca1d335f4865c18d19aac9aab87e373ffb | |
parent | 41cf1f4090a8e7af85e0224cb54e3514bae5794b [diff] |
Changed comparison to match size_t var type.
diff --git a/lib/smtp.c b/lib/smtp.c index b010a26..edc3ff6 100644 --- a/lib/smtp.c +++ b/lib/smtp.c
@@ -576,7 +576,7 @@ 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);