summaryrefslogtreecommitdiff
path: root/lib/pop3.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-02-23 16:15:38 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-02-23 16:15:38 +0000
commit29a4a16db8dbf060ef193ff9d673d69449ec079f (patch)
tree735d7eb1a27c5007ea97cdc6f03ecf0930d59602 /lib/pop3.h
parente2201dc849e7d5ba3104021559630030f6a8eec0 (diff)
downloadcurl-29a4a16db8dbf060ef193ff9d673d69449ec079f.tar.gz
pop3: Moved the per-request variables to the per-request data structure
Moved the mailbox and custom request variables from the per-connection struct pop3_conn to the new per-request struct and fixed references accordingly.
Diffstat (limited to 'lib/pop3.h')
-rw-r--r--lib/pop3.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pop3.h b/lib/pop3.h
index ca9e84b1b..c16ad395c 100644
--- a/lib/pop3.h
+++ b/lib/pop3.h
@@ -61,14 +61,14 @@ struct POP3 {
char *user; /* User name string */
char *passwd; /* Password string */
curl_ftptransfer transfer;
+ char *mailbox; /* Message ID */
+ char *custom; /* Custom Request */
};
/* pop3_conn is used for struct connection-oriented data in the connectdata
struct */
struct pop3_conn {
struct pingpong pp;
- char *mailbox; /* Message ID */
- char *custom; /* Custom Request */
size_t eob; /* Number of bytes of the EOB (End Of Body) that
have been received so far */
size_t strip; /* Number of bytes from the start to ignore as