Revision 3195 libsylph/pop.c

View differences:

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:

Also available in: Unified diff