]> granicus.if.org Git - neomutt/commitdiff
constants
authorRichard Russon <rich@flatcap.org>
Sat, 17 Feb 2018 14:30:07 +0000 (14:30 +0000)
committerRichard Russon <rich@flatcap.org>
Wed, 21 Feb 2018 00:23:06 +0000 (00:23 +0000)
imap/imap_private.h
protos.h
url.h

index 11f4a4b0573668757468bd081a062bf94d9ae46b..9381a3ce73e89503e37225e0170ffe840c86851a 100644 (file)
@@ -51,12 +51,12 @@ struct Progress;
 #define IMAP_LOG_PASS 5
 
 /* IMAP command responses. Used in ImapCommand.state too */
-#define IMAP_CMD_OK       (0)  /**< `<tag> OK ...` */
-#define IMAP_CMD_BAD      (-1) /**< `<tag> BAD ...` */
-#define IMAP_CMD_NO       (-2) /**< `<tag> NO ...` */
-#define IMAP_CMD_CONTINUE (1)  /**< `* ...` */
-#define IMAP_CMD_RESPOND  (2)  /**< `+` */
-#define IMAP_CMD_NEW      (3)  /**< ImapCommand.state additions */
+#define IMAP_CMD_OK       0  /**< `<tag> OK ...` */
+#define IMAP_CMD_BAD      -1 /**< `<tag> BAD ...` */
+#define IMAP_CMD_NO       -2 /**< `<tag> NO ...` */
+#define IMAP_CMD_CONTINUE 1  /**< `* ...` */
+#define IMAP_CMD_RESPOND  2  /**< `+` */
+#define IMAP_CMD_NEW      3  /**< ImapCommand.state additions */
 
 /* number of entries in the hash table */
 #define IMAP_CACHE_LEN 10
index f1b71fc825a99db7d6ace14aa21ce87a44e1d9db..4fe7ddf68047fd12e326a2cfaef0a9c695a1aa41 100644 (file)
--- a/protos.h
+++ b/protos.h
@@ -341,7 +341,7 @@ void mutt_browser_select_dir(char *f);
 void mutt_get_parent_path(char *output, char *path, size_t olen);
 size_t mutt_realpath(char *buf);
 
-#define MUTT_RANDTAG_LEN (16)
+#define MUTT_RANDTAG_LEN 16
 void mutt_rand_base32(void *out, size_t len);
 uint32_t mutt_rand32(void);
 uint64_t mutt_rand64(void);
diff --git a/url.h b/url.h
index 00c63675d7375e6fd473789cc197b0cfb4d83de8..640021e962e2c391654cfc043297d06cb27c3f7e 100644 (file)
--- a/url.h
+++ b/url.h
@@ -47,8 +47,8 @@ enum UrlScheme
   U_UNKNOWN
 };
 
-#define U_DECODE_PASSWD (1)
-#define U_PATH (1 << 1)
+#define U_DECODE_PASSWD (1 << 0)
+#define U_PATH          (1 << 1)
 
 /**
  * struct UrlQueryString - Parsed Query String