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
[exim.git]
/
src
/
src
/
rewrite.c
diff --git
a/src/src/rewrite.c
b/src/src/rewrite.c
index 9ee5a6794a777383461798bafdae7806f1c60a87..ce35c43655dd43fe8ed6f24e4a306d8fade3c12b 100644
(file)
--- a/
src/src/rewrite.c
+++ b/
src/src/rewrite.c
@@
-452,7
+452,7
@@
header_line * newh = NULL;
rmark function_reset_point = store_mark();
uschar * s = Ustrchr(h->text, ':') + 1;
rmark function_reset_point = store_mark();
uschar * s = Ustrchr(h->text, ':') + 1;
-
while (isspace(*s)) s++
;
+
Uskip_whitespace(&s)
;
DEBUG(D_rewrite) /* The header text includes the trailing newline */
debug_printf_indent("rewrite_one_header: type=%c:\n %s", h->type, h->text);
DEBUG(D_rewrite) /* The header text includes the trailing newline */
debug_printf_indent("rewrite_one_header: type=%c:\n %s", h->type, h->text);
@@
-493,7
+493,7
@@
while (*s)
recipient = parse_extract_address(s, &errmess, &start, &end, &domain, FALSE);
*ss1 = terminator;
s = ss + (*ss ? 1 : 0);
recipient = parse_extract_address(s, &errmess, &start, &end, &domain, FALSE);
*ss1 = terminator;
s = ss + (*ss ? 1 : 0);
-
while (isspace(*s)) s++
;
+
Uskip_whitespace(&s)
;
/* There isn't much we can do for syntactic disasters at this stage.
Pro tem (possibly for ever) ignore them.
/* There isn't much we can do for syntactic disasters at this stage.
Pro tem (possibly for ever) ignore them.