From 5a287bfe887045edc721294b24c1e433880c033d Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Tue, 21 Dec 2010 18:06:07 +0100 Subject: [PATCH] Fix bug in SMTP-Client to send two < in the envelope sender, which will probably result in bounces/rejects. --- citadel/modules/smtp/serv_smtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citadel/modules/smtp/serv_smtp.c b/citadel/modules/smtp/serv_smtp.c index fc43a9624..ce680d1e4 100644 --- a/citadel/modules/smtp/serv_smtp.c +++ b/citadel/modules/smtp/serv_smtp.c @@ -1036,7 +1036,7 @@ void smtp_try(const char *key, const char *addr, int *status, } if ( (lp>=0) && (rp>lp) ) { mailfrom[rp] = 0; - strcpy(mailfrom, &mailfrom[lp]); + strcpy(mailfrom, &mailfrom[lp + 1]); } scan_done = 1; -- 2.30.2