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:
154bf3d
)
imap: Removed unnecessary state change on failure
author
Steve Holme
<steve_holme@hotmail.com>
Fri, 15 Feb 2013 18:33:10 +0000
(18:33 +0000)
committer
Steve Holme
<steve_holme@hotmail.com>
Fri, 15 Feb 2013 18:33:10 +0000
(18:33 +0000)
lib/imap.c
patch
|
blob
|
history
diff --git
a/lib/imap.c
b/lib/imap.c
index
8607d00
..
ab98e0a
100644
(file)
--- a/
lib/imap.c
+++ b/
lib/imap.c
@@
-1057,9
+1057,9
@@
static CURLcode imap_state_auth_final_resp(struct connectdata *conn,
failf(data, "Authentication failed: %d", imapcode);
result = CURLE_LOGIN_DENIED;
}
-
- /* End of connect phase */
- state(conn, IMAP_STOP);
+ else
+
/* End of connect phase */
+
state(conn, IMAP_STOP);
return result;
}