projects
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change misleading debugging wording "lookup deferred" -> "list match
[exim.git]
/
src
/
src
/
filtertest.c
diff --git
a/src/src/filtertest.c
b/src/src/filtertest.c
index c0a183d6aefbfbc85656da1ef680f8e941e75718..3275cd0d49be629d1ce4b8d4963fccc4b28e5274 100644
(file)
--- a/
src/src/filtertest.c
+++ b/
src/src/filtertest.c
@@
-1,10
+1,10
@@
-/* $Cambridge: exim/src/src/filtertest.c,v 1.
4 2005/02/17 11:58:26
ph10 Exp $ */
+/* $Cambridge: exim/src/src/filtertest.c,v 1.
8 2006/02/07 11:19:00
ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
*************************************************/
/*************************************************
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 200
5
*/
+/* Copyright (c) University of Cambridge 1995 - 200
6
*/
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
@@
-33,7
+33,7
@@
Returns: nothing
*/
static void
*/
static void
-read_message_body(dot_ended)
+read_message_body(
BOOL
dot_ended)
{
register int ch;
int body_len, body_end_len, header_size;
{
register int ch;
int body_len, body_end_len, header_size;
@@
-181,7
+181,7
@@
if (fstat(fd, &statbuf) != 0)
filebuf = store_get(statbuf.st_size + 1);
rc = read(fd, filebuf, statbuf.st_size);
filebuf = store_get(statbuf.st_size + 1);
rc = read(fd, filebuf, statbuf.st_size);
-close(fd);
+
(void)
close(fd);
if (rc != statbuf.st_size)
{
if (rc != statbuf.st_size)
{
@@
-271,7
+271,7
@@
if (is_system)
else
{
yield = (filter_type == FILTER_SIEVE)?
else
{
yield = (filter_type == FILTER_SIEVE)?
- sieve_interpret(filebuf, RDO_REWRITE, NULL, &generated, &error)
+ sieve_interpret(filebuf, RDO_REWRITE, NULL,
NULL, NULL,
&generated, &error)
:
filter_interpret(filebuf, RDO_REWRITE, &generated, &error);
}
:
filter_interpret(filebuf, RDO_REWRITE, &generated, &error);
}