git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Documentation and comment tidies.
[exim.git]
/
src
/
src
/
sieve.c
diff --git
a/src/src/sieve.c
b/src/src/sieve.c
index 3b0199d49903e5be99f26944b8b8f2aaf6652f7d..549dba197c3578f3513ad9f195a0f789d3adddca 100644
(file)
--- a/
src/src/sieve.c
+++ b/
src/src/sieve.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/sieve.c,v 1.
19 2006/03/08 11:13:07
ph10 Exp $ */
+/* $Cambridge: exim/src/src/sieve.c,v 1.
23 2006/10/10 15:36:50
ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-400,7
+400,7
@@
if (*uri=='?')
return -1;
}
}
return -1;
}
}
- if (hname.length==2 && strcmp(hname.character,"to")==0)
+ if (hname.length==2 && strcmp(
CS
hname.character,"to")==0)
{
new=store_get(sizeof(string_item));
new->text=store_get(hvalue.length+1);
{
new=store_get(sizeof(string_item));
new->text=store_get(hvalue.length+1);
@@
-409,7
+409,7
@@
if (*uri=='?')
new->next=*recipient;
*recipient=new;
}
new->next=*recipient;
*recipient=new;
}
- else if (hname.length==4 && strcmp(hname.character,"body")==0)
+ else if (hname.length==4 && strcmp(
CS
hname.character,"body")==0)
*body=hvalue;
if (*uri=='&') ++uri;
else break;
*body=hvalue;
if (*uri=='&') ++uri;
else break;
@@
-1826,6
+1826,8
@@
if (parse_identifier(filter,CUS "address"))
if (saveend == 0) break;
header_value = end_addr + 1;
}
if (saveend == 0) break;
header_value = end_addr + 1;
}
+ parse_allow_group = FALSE;
+ parse_found_group = FALSE;
}
}
return 1;
}
}
return 1;
@@
-2583,6
+2585,7
@@
while (*filter->pc)
{
debug_printf("Notification to `%s'.\n",method.character);
}
{
debug_printf("Notification to `%s'.\n",method.character);
}
+#ifndef COMPILE_SYNTAX_CHECKER
if (exec)
{
string_item *p;
if (exec)
{
string_item *p;
@@
-2606,6
+2609,7
@@
while (*filter->pc)
(void)child_close(pid, 0);
}
}
(void)child_close(pid, 0);
}
}
+#endif
}
else
{
}
else
{
@@
-2884,7
+2888,7
@@
while (*filter->pc)
}
else
{
}
else
{
- struct String qp
;
+ struct String qp
= { NULL, 0 }; /* Keep compiler happy (PH) */
capacity = 0;
start = reason.length;
capacity = 0;
start = reason.length;