]> granicus.if.org Git - neomutt/commitdiff
replace 'IMAP_CACHE' with 'struct ImapCache'
authorRichard Russon <rich@flatcap.org>
Tue, 16 May 2017 13:18:27 +0000 (14:18 +0100)
committerRichard Russon <rich@flatcap.org>
Tue, 16 May 2017 14:21:29 +0000 (15:21 +0100)
imap/imap_private.h
imap/message.c

index ca60c506808c95f7b1ea6fd8171ca27899197353..3e84433702ca489997038b6918804bceb5e77cce 100644 (file)
@@ -125,11 +125,11 @@ enum
 #define MUTT_IMAP_CONN_NOSELECT (1 << 1)
 
 /* -- data structures -- */
-typedef struct
+struct ImapCache
 {
   unsigned int uid;
   char *path;
-} IMAP_CACHE;
+};
 
 typedef struct
 {
@@ -213,7 +213,7 @@ typedef struct
   unsigned short check_status;
   unsigned char reopen;
   unsigned int newMailCount;
-  IMAP_CACHE cache[IMAP_CACHE_LEN];
+  struct ImapCache cache[IMAP_CACHE_LEN];
   struct Hash *uid_hash;
   unsigned int uid_validity;
   unsigned int uidnext;
index d1db27a1be71419e96e5c718daed0f77fb842f74..688076ff4fd78463225144b4513fac846c34a4c9 100644 (file)
@@ -697,7 +697,7 @@ int imap_fetch_message(struct Context *ctx, struct Message *msg, int msgno)
   struct Progress progressbar;
   int uid;
   int cacheno;
-  IMAP_CACHE *cache = NULL;
+  struct ImapCache *cache = NULL;
   bool read;
   int rc;