diff options
-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); |