diff options
| author | Yang Tse <yangsita@gmail.com> | 2011-09-05 20:46:09 +0200 | 
|---|---|---|
| committer | Yang Tse <yangsita@gmail.com> | 2011-09-05 20:46:09 +0200 | 
| commit | a50210710ab6fd772e2762ed36602c15adfb49e1 (patch) | |
| tree | 9ac720a0c9c0b628e1bfeba3b64c5a944e468117 /lib/pop3.c | |
| parent | eb44ac013832aab80c3ed90292d7b4f25a8a4d75 (diff) | |
fix bool variables checking and assignment
Diffstat (limited to 'lib/pop3.c')
| -rw-r--r-- | lib/pop3.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/pop3.c b/lib/pop3.c index ff71ed663..c5a0f5b9b 100644 --- a/lib/pop3.c +++ b/lib/pop3.c @@ -570,7 +570,7 @@ static CURLcode pop3_multi_statemach(struct connectdata *conn, bool *done)    struct pop3_conn *pop3c = &conn->proto.pop3c;    CURLcode result = Curl_pp_multi_statemach(&pop3c->pp); -  *done = (bool)(pop3c->state == POP3_STOP); +  *done = (pop3c->state == POP3_STOP) ? TRUE : FALSE;    return result;  } | 
