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
Relax restrictions on which ACLs verify conditions may be used
[exim.git]
/
src
/
src
/
parse.c
diff --git
a/src/src/parse.c
b/src/src/parse.c
index 5d50d6862181876289bec20ebcf38b5c642abaca..e3b471f1a6e7a017171e00f4668ebc1c9a1e13d6 100644
(file)
--- a/
src/src/parse.c
+++ b/
src/src/parse.c
@@
-3,6
+3,7
@@
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2018 */
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2018 */
+/* Copyright (c) The Exim Maintainers 2020 */
/* See the file NOTICE for conditions of use and distribution. */
/* Functions for parsing addresses */
/* See the file NOTICE for conditions of use and distribution. */
/* Functions for parsing addresses */
@@
-197,10
+198,10
@@
last_comment_position = s;
while (*s)
{
int c, level;
while (*s)
{
int c, level;
- while (isspace(*s)) s++;
- if (
*s
!= '(') break;
+
+ if (
Uskip_whitespace(&s)
!= '(') break;
level = 1;
level = 1;
- while((c = *(++s))
!= 0
)
+ while((c = *(++s)))
{
if (c == '(') level++;
else if (c == ')') { if (--level <= 0) { s++; break; } }
{
if (c == '(') level++;
else if (c == ')') { if (--level <= 0) { s++; break; } }
@@
-2190,7
+2191,7
@@
while (Ufgets(buffer, sizeof(buffer), stdin) != NULL)
}
s = ss + (terminator? 1:0);
}
s = ss + (terminator? 1:0);
-
while (isspace(*s)) s++
;
+
Uskip_whitespace(&s)
;
}
}
}
}