aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-04-15 20:10:25 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-04-15 20:27:45 +0100
commit26bdafcbf9cd8b7c051eb1832c90b8e2cfbe670c (patch)
tree7fd3f94882dcad218a4a944839f5a5067479c05c
parent02dc9e788f8f01e58948a2469b750ddd1bdce30c (diff)
pop3: Updated the coding style of pop3_state_servergreet_resp()
Updated the coding style, in this function, to be consistent with other response functions rather then performing a hard return on failure.
-rw-r--r--lib/pop3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index 7d926c3dc..dfd8edcae 100644
--- 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");
- return CURLE_FTP_WEIRD_SERVER_REPLY;
+ result = CURLE_FTP_WEIRD_SERVER_REPLY;
}
-
- result = pop3_perform_capa(conn);
+ else
+ result = pop3_perform_capa(conn);
return result;
}