projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d607b32
)
fix a bug introduced in a8bb950b3da00b7933912c27e2ad92814b10d75b ; we want to set...
author
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 6 Oct 2013 15:48:49 +0000
(17:48 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Mon, 7 Oct 2013 19:27:59 +0000
(21:27 +0200)
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 be6347466270576c957d1610d8c29e1d3b5a961c..be0ef80a47eaddcd3a18fe5bec07580e4a8c0d2e 100644
(file)
--- a/
citadel/modules/smtp/serv_smtp.c
+++ b/
citadel/modules/smtp/serv_smtp.c
@@
-619,7
+619,7
@@
void smtp_mail(long offset, long flags) {
* address so we don't have to contend with the empty string causing
* other code to fail when it's expecting something there.
*/
* address so we don't have to contend with the empty string causing
* other code to fail when it's expecting something there.
*/
- if (StrLength(sSMTP->from)) {
+ if (StrLength(sSMTP->from)
== 0
) {
StrBufPlain(sSMTP->from, HKEY("someone@example.com"));
}
StrBufPlain(sSMTP->from, HKEY("someone@example.com"));
}