From 26bdafcbf9cd8b7c051eb1832c90b8e2cfbe670c Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Mon, 15 Apr 2013 20:10:25 +0100 Subject: 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. --- lib/pop3.c | 6 +++--- 1 file 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; } -- cgit v1.2.3