spamd: Use macro for default priority. Bug 2694
authorHeiko Schlichting <heiko@fu-berlin.de>
Fri, 19 Feb 2021 11:18:04 +0000 (11:18 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Fri, 19 Feb 2021 11:56:15 +0000 (11:56 +0000)
src/src/spam.c
src/src/spam.h

index 286038678dca58250d70cfb0367030b07766a338..544fed17a40df4d7fec80eeb1e6c2470932f0337 100644 (file)
@@ -35,7 +35,7 @@ spamd->is_failed = FALSE;
 spamd->weight = SPAMD_WEIGHT;
 spamd->timeout = SPAMD_TIMEOUT;
 spamd->retry = 0;
-spamd->priority = 1;
+spamd->priority = SPAMD_PRIORITY;
 return 0;
 }
 
index 2fe73809ef5703f9ee78dfd03b673091827a8991..312dce8de86bf61cd234eeb14409017fd643c888 100644 (file)
@@ -21,8 +21,9 @@
 # define SHUT_WR 1
 #endif
 
-/* default weight */
+/* Defaults */
 #define SPAMD_WEIGHT 1
+#define SPAMD_PRIORITY 1
 
 typedef struct spamd_address_container
 {