diff options
author | Steve Holme <steve_holme@hotmail.com> | 2012-03-25 11:21:59 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2012-03-25 11:21:59 +0100 |
commit | 01690ed2bce50be86a045fe6edfe9ee72a9e9b9f (patch) | |
tree | 75954c6b1108d6d690e749a7f80e47c58a2b1cc0 /lib/pop3.h | |
parent | 2da89708ecea44b15c2ed9642b391e33f5188e91 (diff) | |
download | curl-01690ed2bce50be86a045fe6edfe9ee72a9e9b9f.tar.gz |
pop3: Removed the need for the single message LIST command handler
Simplified the code to remove the need for a separate "LIST <msg id>"
command handler and state machine and instead use the LIST command
handler for both operations.
Diffstat (limited to 'lib/pop3.h')
-rw-r--r-- | lib/pop3.h | 5 |
1 files changed, 2 insertions, 3 deletions
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, <daniel@haxx.se>, et al. + * Copyright (C) 2009 - 2012, Daniel Stenberg, <daniel@haxx.se>, 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; |