projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6af2c2a
)
* get the pointer after we sent the greating, its NULL in advance.
author
Wilfried Göesgens
<willi@citadel.org>
Fri, 29 Jan 2010 14:17:00 +0000
(14:17 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Fri, 29 Jan 2010 14:17:00 +0000
(14:17 +0000)
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 62ccafe2ee2bf8271c66bf36a325ed5f257c4c9d..947e436f7b502b06d3fbf6dbba93478306df29d4 100644
(file)
--- a/
citadel/modules/smtp/serv_smtp.c
+++ b/
citadel/modules/smtp/serv_smtp.c
@@
-203,7
+203,10
@@
void smtp_msa_greeting(void) {
* LMTP is like SMTP but with some extra bonus footage added.
*/
void lmtp_greeting(void) {
+ citsmtp *sSMTP;
+
smtp_greeting(0);
+ sSMTP = SMTP;
SMTP->is_lmtp = 1;
}
@@
-220,8
+223,10
@@
void smtp_mta_greeting(void) {
* We also have an unfiltered LMTP socket that bypasses spam filters.
*/
void lmtp_unfiltered_greeting(void) {
- citsmtp *sSMTP = SMTP;
+ citsmtp *sSMTP;
+
smtp_greeting(0);
+ sSMTP = SMTP;
sSMTP->is_lmtp = 1;
sSMTP->is_unfiltered = 1;
}