aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2010-07-29 05:33:04 +0200
committerGuenter Knauf <lists@gknw.net>2010-07-29 05:33:04 +0200
commitd873c820bd63247eb4fffcc3958d8c164b4c077e (patch)
tree1a4908ca1d335f4865c18d19aac9aab87e373ffb /lib
parent41cf1f4090a8e7af85e0224cb54e3514bae5794b (diff)
Changed comparison to match size_t var type.
Diffstat (limited to 'lib')
-rw-r--r--lib/smtp.c2
1 files changed, 1 insertions, 1 deletions
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);