projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1b5153f
)
* Applied dtx patch for receiving second level headers in Sieve module
author
Art Cancro
<ajc@citadel.org>
Tue, 17 Mar 2009 15:08:56 +0000
(15:08 +0000)
committer
Art Cancro
<ajc@citadel.org>
Tue, 17 Mar 2009 15:08:56 +0000
(15:08 +0000)
citadel/modules/sieve/serv_sieve.c
patch
|
blob
|
history
diff --git
a/citadel/modules/sieve/serv_sieve.c
b/citadel/modules/sieve/serv_sieve.c
index d14f6bdf8da81856192848bae5db083aa43cdd5b..6c793c0df9a97dc33b9569195b23e92a468708a9 100644
(file)
--- a/
citadel/modules/sieve/serv_sieve.c
+++ b/
citadel/modules/sieve/serv_sieve.c
@@
-518,7
+518,10
@@
void sieve_do_msg(long msgnum, void *userdata) {
CtdlLogPrintf(CTDL_DEBUG, "Performing sieve processing on msg <%ld>\n", msgnum);
CtdlLogPrintf(CTDL_DEBUG, "Performing sieve processing on msg <%ld>\n", msgnum);
- msg = CtdlFetchMessage(msgnum, 0);
+ /*
+ * Make sure you include message body so you can get those second-level headers ;)
+ */
+ msg = CtdlFetchMessage(msgnum, 1);
if (msg == NULL) return;
/*
if (msg == NULL) return;
/*