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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user