Revision 3195

View differences:

libsylph/pop.c
844 844
		}
845 845
		break;
846 846
	case POP3_LOGOUT:
847
		pop3_session->state = POP3_DONE;
847
		if (val == PS_SUCCESS)
848
			pop3_session->state = POP3_DONE;
849
		else
850
			pop3_session->state = POP3_ERROR;
848 851
		session_disconnect(session);
849 852
		break;
850 853
	case POP3_ERROR:
ChangeLog
3 3
	* libsylph/pop.c
4 4
	  src/inc.c: do not disconnect immediately but send QUIT on normal
5 5
	  POP3 errors.
6
	* libsylph/pop.c: set Pop3Session::state to POP3_ERROR if QUIT
7
	  fail.
6 8

  
7 9
2013-01-22
8 10

  

Also available in: Unified diff