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:
02dc9e7
)
pop3: Updated the coding style of pop3_state_servergreet_resp()
author
Steve Holme
<steve_holme@hotmail.com>
Mon, 15 Apr 2013 19:10:25 +0000
(20:10 +0100)
committer
Steve Holme
<steve_holme@hotmail.com>
Mon, 15 Apr 2013 19:27:45 +0000
(20:27 +0100)
Updated the coding style, in this function, to be consistent with other
response functions rather then performing a hard return on failure.
lib/pop3.c
patch
|
blob
|
history
diff --git
a/lib/pop3.c
b/lib/pop3.c
index
7d926c3
..
dfd8edc
100644
(file)
--- a/
lib/pop3.c
+++ b/
lib/pop3.c
@@
-700,10
+700,10
@@
static CURLcode pop3_state_servergreet_resp(struct connectdata *conn,
if(pop3code != '+') {
failf(data, "Got unexpected pop3-server response");
- re
turn
CURLE_FTP_WEIRD_SERVER_REPLY;
+ re
sult =
CURLE_FTP_WEIRD_SERVER_REPLY;
}
-
- result = pop3_perform_capa(conn);
+ else
+
result = pop3_perform_capa(conn);
return result;
}