https://bugs.exim.org/show_bug.cgi?id=2694
--- Comment #8 from Git Commit <g...@exim.org> --- Git commit: https://git.exim.org/exim.git/commitdiff/03976d0d27f005d68d6a37b418f168f687d49447 commit 03976d0d27f005d68d6a37b418f168f687d49447 Author: Heiko Schlichting <he...@fu-berlin.de> AuthorDate: Fri Feb 19 11:18:04 2021 +0000 Commit: Jeremy Harris <jgh146...@wizmail.org> CommitDate: Fri Feb 19 11:56:15 2021 +0000 spamd: Use macro for default priority. Bug 2694 --- src/src/spam.c | 2 +- src/src/spam.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/src/spam.c b/src/src/spam.c index 2860386..544fed1 100644 --- a/src/src/spam.c +++ b/src/src/spam.c @@ -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; } diff --git a/src/src/spam.h b/src/src/spam.h index 2fe7380..312dce8 100644 --- a/src/src/spam.h +++ b/src/src/spam.h @@ -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 { -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##