X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/235c7030ee9ee1c1aad507786506a470b580bfe2..33d5b8e8e4c2f23b4e834e3a095e3c9dd9f0686b:/src/src/log.c diff --git a/src/src/log.c b/src/src/log.c index c2ef698e7..11d259197 100644 --- a/src/src/log.c +++ b/src/src/log.c @@ -651,7 +651,7 @@ set_file_path(BOOL *multiple) { uschar *s; int sep = ':'; /* Fixed separator - outside use */ -uschar *ss = *log_file_path ? log_file_path : LOG_FILE_PATH; +const uschar *ss = *log_file_path ? log_file_path : US LOG_FILE_PATH; logging_mode = 0; while ((s = string_nextinlist(&ss, &sep, log_buffer, LOG_BUFFER_SIZE))) @@ -1445,7 +1445,7 @@ unlink_log(lt_debug); } void -open_logs(const char *m) +open_logs(void) { set_file_path(NULL); open_log(&mainlogfd, lt_main, 0);