summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2007-08-29 15:06:47 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2007-08-29 15:06:47 +0000
commitbc64a74dadcd9d2560b84cad283a52e7346d4140 (patch)
tree3be865dcd40dbc22db63b5d5208b205f4f59c963 /src
parent19897d528de779d4d3804fd7d10c235e8b50a53e (diff)
Fix quoting problem with errors_copy.
Diffstat (limited to 'src')
-rw-r--r--src/src/moan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src/moan.c b/src/src/moan.c
index 0080e57be..1b6d1a97f 100644
--- a/src/src/moan.c
+++ b/src/src/moan.c
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/src/moan.c,v 1.9 2007/08/29 13:58:57 ph10 Exp $ */
+/* $Cambridge: exim/src/src/moan.c,v 1.10 2007/08/29 15:06:47 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -584,7 +584,7 @@ if (errors_copy == NULL) return NULL;
length of the local part. */
localpart = recipient;
-domain = Ustrchr(recipient, '@');
+domain = Ustrrchr(recipient, '@');
if (domain == NULL) return NULL; /* should not occur, but avoid crash */
llen = domain++ - recipient;