diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-01-24 08:22:16 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-01-24 08:22:16 +0000 |
commit | 217a66f247b55a47d4a5077092846e34d7b4f4c2 (patch) | |
tree | 2f47aec7da85479d3f5a4bb6dfaa396ecd893304 /libsylph | |
parent | 1bab6bdd955adcd88d9169ad808b47924443eacd (diff) |
Pop3Session::state to POP3_ERROR if QUIT fail.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3195 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/pop.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libsylph/pop.c b/libsylph/pop.c index c5b86b2e..aa41b53c 100644 --- a/libsylph/pop.c +++ b/libsylph/pop.c @@ -844,7 +844,10 @@ static gint pop3_session_recv_msg(Session *session, const gchar *msg) } break; case POP3_LOGOUT: - pop3_session->state = POP3_DONE; + if (val == PS_SUCCESS) + pop3_session->state = POP3_DONE; + else + pop3_session->state = POP3_ERROR; session_disconnect(session); break; case POP3_ERROR: |