diff options
-rw-r--r-- | lib/smtp.c | 2 |
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); |