summaryrefslogtreecommitdiffstats
path: root/imap/imap_private.h
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2005-12-23 18:20:02 +0000
committerBrendan Cully <brendan@kublai.com>2005-12-23 18:20:02 +0000
commit214bcb55653277c1fe9e06a9646ade1bd13ef76d (patch)
tree9147630e5019d25d5ba4cc98e659ad5d3a5e1010 /imap/imap_private.h
parent4e7fd49f26ddb991b86b6a18321e8d7c75957eb8 (diff)
Don't evaluate hcache unless uidnext > 0. This shouldn't happen, but it
was reported to. I probably have to be a lot more careful about the uid datatypes but I'm too lazy to clean up right now.
Diffstat (limited to 'imap/imap_private.h')
-rw-r--r--imap/imap_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/imap/imap_private.h b/imap/imap_private.h
index 705180f1..82d9bfc5 100644
--- a/imap/imap_private.h
+++ b/imap/imap_private.h
@@ -220,8 +220,8 @@ typedef struct
unsigned char rights[(RIGHTSMAX + 7)/8];
unsigned int newMailCount;
IMAP_CACHE cache[IMAP_CACHE_LEN];
- uint32_t uid_validity;
- uint32_t uidnext;
+ unsigned int uid_validity;
+ unsigned int uidnext;
/* all folder flags - system flags AND keywords */
LIST *flags;