diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2021-05-28 09:37:15 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2021-05-28 09:38:25 +0100 |
commit | 3327394394a45c79cd48b2091536f6a6b8ba32a3 (patch) | |
tree | 0e42d959f3ca6d59fa53966e53143a372e9057c3 /src | |
parent | 1ed0d29b0be055473fbcc70f1e4c596bd81442f5 (diff) |
Fix dmarc build
Broken-by: b6c1434e47
Diffstat (limited to 'src')
-rw-r--r-- | src/src/dmarc.c | 2 | ||||
-rw-r--r-- | src/src/functions.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/src/dmarc.c b/src/src/dmarc.c index 750f9197f..8a9cdce0d 100644 --- a/src/src/dmarc.c +++ b/src/src/dmarc.c @@ -254,7 +254,7 @@ if (!dmarc_history_file) DEBUG(D_receive) debug_printf("DMARC history file not set\n"); return DMARC_HIST_DISABLED; } -history_file_fd = log_create_as_exim(dmarc_history_file); +history_file_fd = log_open_as_exim(dmarc_history_file); if (history_file_fd < 0) { diff --git a/src/src/functions.h b/src/src/functions.h index 84eb87397..4212c3328 100644 --- a/src/src/functions.h +++ b/src/src/functions.h @@ -316,7 +316,7 @@ extern int ip_streamsocket(const uschar *, uschar **, int, host_item *); extern int ipv6_nmtoa(int *, uschar *); extern uschar *local_part_quote(uschar *); -extern int log_open_as_exim(uschar *); +extern int log_open_as_exim(uschar * const); extern void log_close_all(void); extern macro_item * macro_create(const uschar *, const uschar *, BOOL); |