projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41cf1f4
)
Changed comparison to match size_t var type.
author
Guenter Knauf
<lists@gknw.net>
Thu, 29 Jul 2010 03:33:04 +0000
(
05:33
+0200)
committer
Guenter Knauf
<lists@gknw.net>
Thu, 29 Jul 2010 03:33:04 +0000
(
05:33
+0200)
lib/smtp.c
patch
|
blob
|
history
diff --git
a/lib/smtp.c
b/lib/smtp.c
index
b010a26
..
edc3ff6
100644
(file)
--- 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);