Fix bug in SMTP-Client to send two < in the envelope sender, which will probably...
authorWilfried Goesgens <dothebart@citadel.org>
Tue, 21 Dec 2010 17:06:07 +0000 (18:06 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Tue, 21 Dec 2010 17:06:07 +0000 (18:06 +0100)
citadel/modules/smtp/serv_smtp.c

index fc43a9624529001f924df11e379d9ef126e565d4..ce680d1e4c5b54091f680ebd44763ac2ad6bbe67 100644 (file)
@@ -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;