diff options
-rw-r--r-- | src/src/demime.c | 4 | ||||
-rw-r--r-- | src/src/functions.h | 2 | ||||
-rw-r--r-- | src/src/srs.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/src/demime.c b/src/src/demime.c index 887678db3..622c1c8e3 100644 --- a/src/src/demime.c +++ b/src/src/demime.c @@ -15,9 +15,9 @@ uschar demime_reason_buffer[1024]; struct file_extension *file_extensions = NULL; -int demime(uschar **listptr) { +int demime(const uschar **listptr) { int sep = 0; - uschar *list = *listptr; + const uschar *list = *listptr; uschar *option; uschar option_buffer[64]; unsigned long mbox_size; diff --git a/src/src/functions.h b/src/src/functions.h index 71c276bc7..cce26b536 100644 --- a/src/src/functions.h +++ b/src/src/functions.h @@ -142,7 +142,7 @@ extern void deliver_succeeded(address_item *); extern uschar *deliver_get_sender_address (uschar *id); #ifdef WITH_OLD_DEMIME -extern int demime(uschar **); +extern int demime(const uschar **); #endif extern BOOL directory_make(const uschar *, const uschar *, int, BOOL); #ifndef DISABLE_DKIM diff --git a/src/src/srs.c b/src/src/srs.c index 0115c0b51..4fac22604 100644 --- a/src/src/srs.c +++ b/src/src/srs.c @@ -25,7 +25,7 @@ uschar *srs_db_reverse = NULL; int eximsrs_init() { - uschar *list = srs_config; + const uschar *list = srs_config; uschar secret_buf[SRS_MAX_SECRET_LENGTH]; uschar *secret = NULL; uschar sbuf[4]; |