| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- Index: Sendmail-PMilter-0.95/lib/Sendmail/PMilter/Context.pm
- --- Sendmail-PMilter-0.95/lib/Sendmail/PMilter/Context.pm.orig 2004-08-04 19:07:51 +0200
- +++ Sendmail-PMilter-0.95/lib/Sendmail/PMilter/Context.pm 2007-02-13 22:36:55 +0100
- @@ -245,6 +245,12 @@
- $this->{symbols}{$code}{$name} = $value;
- }
- } elsif ($cmd eq SMFIC_BODYEOB) {
- + # SMFIC_BODYEOB is a single MILTER protocol
- + # command, but is carries two MILTER API
- + # semantics and hence (also closely following
- + # Sendmail's libmilter) we have to call both
- + # the MILTER API 'body' and 'eom' callbacks!
- + $this->call_hooks('body', $buf, length($buf)) if (length($buf) > 0);
- $this->call_hooks('eom');
- } elsif ($cmd eq SMFIC_HELO) {
- my $helo = &$split_buf;
- Index: sendmail-8.14.3/include/libmilter/mfapi.h
- --- sendmail-8.14.3/include/libmilter/mfapi.h.orig 2006-11-02 03:44:07 +0100
- +++ sendmail-8.14.3/include/libmilter/mfapi.h 2007-02-13 22:37:32 +0100
- @@ -28,7 +28,7 @@
- # include <sys/types.h>
- # include <sys/socket.h>
-
- -#include "libmilter/mfdef.h"
- +#include "milter/mfdef.h"
-
- # define LIBMILTER_API extern
-
- Index: sendmail-8.14.3/include/libmilter/milter.h
- --- sendmail-8.14.3/include/libmilter/milter.h.orig 2006-05-23 01:23:55 +0200
- +++ sendmail-8.14.3/include/libmilter/milter.h 2007-02-13 22:37:42 +0100
- @@ -18,7 +18,7 @@
- # define _LIBMILTER_MILTER_H 1
-
- #include "sendmail.h"
- -#include "libmilter/mfapi.h"
- +#include "milter/mfapi.h"
-
- /* socket and thread portability */
- # include <pthread.h>
|