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
Tidying and compiler-silencing
[exim.git]
/
src
/
src
/
routers
/
rf_get_munge_headers.c
diff --git
a/src/src/routers/rf_get_munge_headers.c
b/src/src/routers/rf_get_munge_headers.c
index bf8dc4a5d5ec95b45b048bb39a4b555f98455f54..f08b55adcdf7f0608b278ef0475076705f81cf39 100644
(file)
--- a/
src/src/routers/rf_get_munge_headers.c
+++ b/
src/src/routers/rf_get_munge_headers.c
@@
-2,7
+2,7
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 201
5
*/
+/* Copyright (c) University of Cambridge 1995 - 201
8
*/
/* See the file NOTICE for conditions of use and distribution. */
#include "../exim.h"
/* See the file NOTICE for conditions of use and distribution. */
#include "../exim.h"
@@
-44,7
+44,7
@@
if (rblock->extra_headers)
while ((s = string_nextinlist(&list, &sep, NULL, 0)))
if (!(s = expand_string(s)))
{
while ((s = string_nextinlist(&list, &sep, NULL, 0)))
if (!(s = expand_string(s)))
{
- if (!expand_string_forcedfail)
+ if (!
f.
expand_string_forcedfail)
{
addr->message = string_sprintf(
"%s router failed to expand add_headers item \"%s\": %s",
{
addr->message = string_sprintf(
"%s router failed to expand add_headers item \"%s\": %s",
@@
-99,7
+99,7
@@
if (rblock->remove_headers)
while ((s = string_nextinlist(&list, &sep, NULL, 0)))
if (!(s = expand_string(s)))
{
while ((s = string_nextinlist(&list, &sep, NULL, 0)))
if (!(s = expand_string(s)))
{
- if (!expand_string_forcedfail)
+ if (!
f.
expand_string_forcedfail)
{
addr->message = string_sprintf(
"%s router failed to expand remove_headers item \"%s\": %s",
{
addr->message = string_sprintf(
"%s router failed to expand remove_headers item \"%s\": %s",
@@
-109,8
+109,9
@@
if (rblock->remove_headers)
}
else if (*s)
g = string_append_listele(g, ':', s);
}
else if (*s)
g = string_append_listele(g, ':', s);
- if (g)
- *remove_headers = g->s;
+
+ if (g)
+ *remove_headers = g->s;
}
return OK;
}
return OK;