projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c973c74
)
Fix bug in SMTP-Client to send two < in the envelope sender, which will probably...
author
Wilfried Goesgens
<dothebart@citadel.org>
Tue, 21 Dec 2010 17:06:07 +0000
(18:06 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Tue, 21 Dec 2010 17:06:07 +0000
(18:06 +0100)
citadel/modules/smtp/serv_smtp.c
patch
|
blob
|
history
diff --git
a/citadel/modules/smtp/serv_smtp.c
b/citadel/modules/smtp/serv_smtp.c
index fc43a9624529001f924df11e379d9ef126e565d4..ce680d1e4c5b54091f680ebd44763ac2ad6bbe67 100644
(file)
--- 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;
}
if ( (lp>=0) && (rp>lp) ) {
mailfrom[rp] = 0;
- strcpy(mailfrom, &mailfrom[lp]);
+ strcpy(mailfrom, &mailfrom[lp
+ 1
]);
}
scan_done = 1;
}
scan_done = 1;