* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) The Exim Maintainers 2021 - 2023 */
+/* Copyright (c) The Exim Maintainers 2021 - 2024 */
/* Copyright (c) University of Cambridge 1995 - 2018 */
/* See the file NOTICE for conditions of use and distribution. */
/* SPDX-License-Identifier: GPL-2.0-or-later */
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);
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.