projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
192056a
)
we need to create the rules hash regardles of the server reply; this fixes the broken...
author
Wilfried Goesgens
<dothebart@citadel.org>
Sat, 22 Oct 2011 16:46:03 +0000
(18:46 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sat, 22 Oct 2011 16:48:27 +0000
(18:48 +0200)
webcit/sieve.c
patch
|
blob
|
history
diff --git
a/webcit/sieve.c
b/webcit/sieve.c
index f4fc58925b926d100ecfe67382aeaf396da1fbb3..1d55abbdd795c8302cd06c502f159e2af3f1da15 100644
(file)
--- a/
webcit/sieve.c
+++ b/
webcit/sieve.c
@@
-1530,14
+1530,13
@@
HashList *GetSieveRules(StrBuf *Target, WCTemplputParams *TP)
int Done = 0;
SieveRule *Rule;
+ SieveRules = NewHash(1, Flathash);
serv_printf("MSIV getscript|"RULES_SCRIPT);
Line = NewStrBuf();
EncodedRule = NewStrBuf();
StrBuf_ServGetln(Line);
if (GetServerStatus(Line, NULL) == 1)
{
- SieveRules = NewHash(1, Flathash);
-
while(!Done && (StrBuf_ServGetln(Line) >= 0) )
if ( (StrLength(Line)==3) &&
!strcmp(ChrPtr(Line), "000"))