git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Events: move from Experimental to mainline
[exim.git]
/
src
/
src
/
moan.c
diff --git
a/src/src/moan.c
b/src/src/moan.c
index 4d7b51b9a8bbbabc4ee2928d4b2e6d76fef6da84..e54117c345d18b1f705ce84c8e39a9724451393c 100644
(file)
--- a/
src/src/moan.c
+++ b/
src/src/moan.c
@@
-2,7
+2,7
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 201
4
*/
+/* Copyright (c) University of Cambridge 1995 - 201
5
*/
/* See the file NOTICE for conditions of use and distribution. */
/* Functions for sending messages to sender or to mailmaster. */
/* See the file NOTICE for conditions of use and distribution. */
/* Functions for sending messages to sender or to mailmaster. */
@@
-598,7
+598,7
@@
uschar *
moan_check_errorcopy(uschar *recipient)
{
uschar *item, *localpart, *domain;
moan_check_errorcopy(uschar *recipient)
{
uschar *item, *localpart, *domain;
-uschar *listptr = errors_copy;
+
const
uschar *listptr = errors_copy;
uschar *yield = NULL;
uschar buffer[256];
int sep = 0;
uschar *yield = NULL;
uschar buffer[256];
int sep = 0;
@@
-619,8
+619,8
@@
llen = domain++ - recipient;
while ((item = string_nextinlist(&listptr, &sep, buffer, sizeof(buffer)))
!= NULL)
{
while ((item = string_nextinlist(&listptr, &sep, buffer, sizeof(buffer)))
!= NULL)
{
- uschar *newaddress = item;
- uschar *pattern = string_dequote(&newaddress);
+
const
uschar *newaddress = item;
+
const
uschar *pattern = string_dequote(&newaddress);
/* If no new address found, just skip this item. */
/* If no new address found, just skip this item. */