summaryrefslogtreecommitdiff
path: root/lib/pop3.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-03-07 22:44:10 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-03-07 22:44:10 +0000
commitcc890906b152dfb96acc8e9f571124dbdf8d8416 (patch)
tree612b68aa3386c4837ff31225717881d1a54bb64e /lib/pop3.c
parentb99c9f7c7ffbe244deafeabf0ef8c8ec438452c6 (diff)
downloadcurl-cc890906b152dfb96acc8e9f571124dbdf8d8416.tar.gz
email: Minor code tidy up following recent changes
Removed unwanted braces and added variable initialisation.
Diffstat (limited to 'lib/pop3.c')
-rw-r--r--lib/pop3.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index 1924ece46..959266415 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -1262,9 +1262,8 @@ static CURLcode pop3_block_statemach(struct connectdata *conn)
CURLcode result = CURLE_OK;
struct pop3_conn *pop3c = &conn->proto.pop3c;
- while(pop3c->state != POP3_STOP && !result) {
+ while(pop3c->state != POP3_STOP && !result)
result = Curl_pp_statemach(&pop3c->pp, TRUE);
- }
return result;
}