X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/8e9fdd6369f0a7a81f0ca195e24edd372f7ca3ef..1e1ddfac79fbcd052f199500a6493c7f79cb8462:/src/src/moan.c diff --git a/src/src/moan.c b/src/src/moan.c index 51f5da58a..4e7fbd607 100644 --- a/src/src/moan.c +++ b/src/src/moan.c @@ -3,6 +3,7 @@ *************************************************/ /* 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 sending messages to sender or to mailmaster. */ @@ -63,7 +64,7 @@ if (!message_id) if (h->type == htype_id) { message_id = Ustrchr(h->text, ':') + 1; - while (isspace(*message_id)) message_id++; + Uskip_whitespace(&message_id); } for (h = header_list; h; h = h->next) @@ -692,7 +693,7 @@ fprintf(stderr, "%d previous message%s successfully processed.\n", fprintf(stderr, "The rest of the batch was abandoned.\n"); -exim_exit(yield, US"batch"); +exim_exit(yield); }