[exim-cvs] Fix dmarc build

Inizio della pagina
Delete this message
Reply to this message
Autore: Exim Git Commits Mailing List
Data:  
To: exim-cvs
Oggetto: [exim-cvs] Fix dmarc build
Gitweb: https://git.exim.org/exim.git/commitdiff/3327394394a45c79cd48b2091536f6a6b8ba32a3
Commit:     3327394394a45c79cd48b2091536f6a6b8ba32a3
Parent:     1ed0d29b0be055473fbcc70f1e4c596bd81442f5
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Fri May 28 09:37:15 2021 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Fri May 28 09:38:25 2021 +0100


    Fix dmarc build
    Broken-by: b6c1434e47
---
 src/src/dmarc.c     | 2 +-
 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 750f919..8a9cdce 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 84eb873..4212c33 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);