From: Heiko Schlichting Date: Fri, 19 Feb 2021 11:18:04 +0000 (+0000) Subject: spamd: Use macro for default priority. Bug 2694 X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/03976d0d27f005d68d6a37b418f168f687d49447 spamd: Use macro for default priority. Bug 2694 --- diff --git a/src/src/spam.c b/src/src/spam.c index 286038678..544fed17a 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 2fe73809e..312dce8de 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 {