Changed comparison to match size_t var type.
authorGuenter Knauf <lists@gknw.net>
Thu, 29 Jul 2010 03:33:04 +0000 (05:33 +0200)
committerGuenter Knauf <lists@gknw.net>
Thu, 29 Jul 2010 03:33:04 +0000 (05:33 +0200)
lib/smtp.c

index b010a26..edc3ff6 100644 (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);