From: Jeremy Harris Date: Fri, 12 Jun 2015 16:19:09 +0000 (+0100) Subject: minor tidying X-Git-Tag: exim-4_86_RC3~9 X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/0ba0ee973ddbf1766845642873e668b1a1fdc8a3?ds=inline minor tidying --- diff --git a/src/src/deliver.c b/src/src/deliver.c index 40e13ee24..2ee71f502 100644 --- a/src/src/deliver.c +++ b/src/src/deliver.c @@ -4815,15 +4815,12 @@ print_address_error(address_item *addr, FILE *f, uschar *t) int count = Ustrlen(t); uschar *s = testflag(addr, af_pass_message)? addr->message : NULL; -if (s == NULL) - { - if (addr->user_message != NULL) s = addr->user_message; else return; - } +if (!s && !(s = addr->user_message)) + return; fprintf(f, "\n %s", t); -while (*s != 0) - { +while (*s) if (*s == '\\' && s[1] == 'n') { fprintf(f, "\n "); @@ -4840,7 +4837,6 @@ while (*s != 0) count = 0; } } - } } @@ -4866,7 +4862,6 @@ Returns: nothing static void print_dsn_diagnostic_code(const address_item *addr, FILE *f) { - uschar *s = testflag(addr, af_pass_message) ? addr->message : NULL; /* af_pass_message and addr->message set ? print remote host answer */