summaryrefslogtreecommitdiff
path: root/lib/imap.h
diff options
context:
space:
mode:
authorJiri Hruska <jirka@fud.cz>2013-02-25 18:40:32 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-02-25 22:05:20 +0000
commit005ad9e60d6e08d072afa026ec42faca5a3f3859 (patch)
tree2973455cfa732caedba9f857757e5480c2133419 /lib/imap.h
parenta360944ed6eea4fee1131dcb9cad7298ec6fc7a6 (diff)
downloadcurl-005ad9e60d6e08d072afa026ec42faca5a3f3859.tar.gz
imap: Removed bytecountp from the per-request structure
Removed this pointer to a downloaded bytes counter because it was set in imap_init() to point to the same variable the transfer functions keep the count in (k->bytecount), effectively making the code in transfer.c "*k->bytecountp = k->bytecount" a no-op.
Diffstat (limited to 'lib/imap.h')
-rw-r--r--lib/imap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/imap.h b/lib/imap.h
index 09c296f4c..08c35b630 100644
--- a/lib/imap.h
+++ b/lib/imap.h
@@ -56,7 +56,6 @@ typedef enum {
perhaps the SessionHandle is changed between the times the connection is
used. */
struct IMAP {
- curl_off_t *bytecountp;
curl_pp_transfer transfer;
char *mailbox; /* Mailbox to select */
char *uidvalidity; /* UIDVALIDITY to check in select */