X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsrc%2Ffiltertest.c;h=30f29562aa3c1a7b9d8fed7dfd93633ae7c9153c;hb=184e88237dea64ce48076cdd0184612d057cbafd;hp=934085ec9553a49ccaf8a9bcab3a97078f3ee5c3;hpb=f1e894f37fb99398f7447220925a915bd031491a;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/filtertest.c b/src/src/filtertest.c index 934085ec9..30f29562a 100644 --- a/src/src/filtertest.c +++ b/src/src/filtertest.c @@ -1,10 +1,10 @@ -/* $Cambridge: exim/src/src/filtertest.c,v 1.6 2005/06/27 14:29:43 ph10 Exp $ */ +/* $Cambridge: exim/src/src/filtertest.c,v 1.10 2007/01/08 10:50:18 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2005 */ +/* Copyright (c) University of Cambridge 1995 - 2007 */ /* See the file NOTICE for conditions of use and distribution. */ @@ -22,9 +22,10 @@ we can set up the message_body variables at the same time (in normal use, the message_body variables are not set up unless needed). The reading code is written out here rather than having options in read_message_data, in order to -keep that function as efficient as possible. Handling message_body_end is -somewhat more tedious. Pile it all into a circular buffer and sort out at the -end. +keep that function as efficient as possible. (Later: this function is now +global because it is also used by the -bem testing option.) Handling +message_body_end is somewhat more tedious. Pile it all into a circular buffer +and sort out at the end. Arguments: dot_ended TRUE if message already terminated by '.' @@ -32,8 +33,8 @@ Arguments: Returns: nothing */ -static void -read_message_body(dot_ended) +void +read_message_body(BOOL dot_ended) { register int ch; int body_len, body_end_len, header_size;