From bc64a74dadcd9d2560b84cad283a52e7346d4140 Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Wed, 29 Aug 2007 15:06:47 +0000 Subject: Fix quoting problem with errors_copy. --- src/src/moan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3