From 01690ed2bce50be86a045fe6edfe9ee72a9e9b9f Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 25 Mar 2012 11:21:59 +0100 Subject: pop3: Removed the need for the single message LIST command handler Simplified the code to remove the need for a separate "LIST " command handler and state machine and instead use the LIST command handler for both operations. --- lib/pop3.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/pop3.h') diff --git a/lib/pop3.h b/lib/pop3.h index 5723fba01..59c0839c6 100644 --- a/lib/pop3.h +++ b/lib/pop3.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2009 - 2011, Daniel Stenberg, , et al. + * Copyright (C) 2009 - 2012, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -33,7 +33,6 @@ typedef enum { POP3_PASS, POP3_STARTTLS, POP3_LIST, - POP3_LIST_SINGLE, POP3_RETR, POP3_QUIT, POP3_LAST /* never used */ @@ -47,7 +46,7 @@ struct pop3_conn { size_t eob; /* number of bytes of the EOB (End Of Body) that has been received thus far */ size_t strip; /* number of bytes from the start to ignore as non-body */ - pop3state state; /* always use pop3.c:state() to change state! */ + pop3state state; /* always use pop3.c:state() to change state! */ }; extern const struct Curl_handler Curl_handler_pop3; -- cgit v1.2.3