git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update to pre-4.87 master
[users/jgh/exim.git]
/
src
/
src
/
transports
/
autoreply.c
diff --git
a/src/src/transports/autoreply.c
b/src/src/transports/autoreply.c
index a90a6852e588dd97e3145b0edc92df981a377b36..d2aad542a1a855ab98ac571f65611f34abd6bc7d 100644
(file)
--- a/
src/src/transports/autoreply.c
+++ b/
src/src/transports/autoreply.c
@@
-2,7
+2,7
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 20
09
*/
+/* Copyright (c) University of Cambridge 1995 - 20
15
*/
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
@@
-157,12
+157,13
@@
if (ss == NULL)
if (type != cke_text) for (t = ss; *t != 0; t++)
{
int c = *t;
if (type != cke_text) for (t = ss; *t != 0; t++)
{
int c = *t;
+ const uschar * sp;
if (mac_isprint(c)) continue;
if (type == cke_hdr && c == '\n' && (t[1] == ' ' || t[1] == '\t')) continue;
if (mac_isprint(c)) continue;
if (type == cke_hdr && c == '\n' && (t[1] == ' ' || t[1] == '\t')) continue;
- s = string_printing(s);
+ s
p
= string_printing(s);
addr->transport_return = FAIL;
addr->message = string_sprintf("Expansion of \"%s\" in %s transport "
addr->transport_return = FAIL;
addr->message = string_sprintf("Expansion of \"%s\" in %s transport "
- "contains non-printing character %d", s, name, c);
+ "contains non-printing character %d", s
p
, name, c);
return NULL;
}
return NULL;
}
@@
-187,7
+188,7
@@
Returns: nothing
*/
static void
*/
static void
-check_never_mail(uschar **listptr, uschar *never_mail)
+check_never_mail(uschar **listptr,
const
uschar *never_mail)
{
uschar *s = *listptr;
{
uschar *s = *listptr;
@@
-379,7
+380,7
@@
remove those that match. */
if (ob->never_mail != NULL)
{
if (ob->never_mail != NULL)
{
- uschar *never_mail = expand_string(ob->never_mail);
+
const
uschar *never_mail = expand_string(ob->never_mail);
if (never_mail == NULL)
{
if (never_mail == NULL)
{