git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
baf5730
)
minor tidying
author
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 12 Jun 2015 16:19:09 +0000
(17:19 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 14 Jun 2015 19:57:00 +0000
(20:57 +0100)
src/src/deliver.c
patch
|
blob
|
history
diff --git
a/src/src/deliver.c
b/src/src/deliver.c
index 40e13ee24f995b0e634900a2d11a47184d51cf27..2ee71f502d2e49663acaa205f28abe260624df74 100644
(file)
--- 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;
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);
fprintf(f, "\n %s", t);
-while (*s != 0)
- {
+while (*s)
if (*s == '\\' && s[1] == 'n')
{
fprintf(f, "\n ");
if (*s == '\\' && s[1] == 'n')
{
fprintf(f, "\n ");
@@
-4840,7
+4837,6
@@
while (*s != 0)
count = 0;
}
}
count = 0;
}
}
- }
}
}
@@
-4866,7
+4862,6
@@
Returns: nothing
static void
print_dsn_diagnostic_code(const address_item *addr, FILE *f)
{
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 */
uschar *s = testflag(addr, af_pass_message) ? addr->message : NULL;
/* af_pass_message and addr->message set ? print remote host answer */