jerenkrantz 2002/06/18 10:07:36
Modified: perl-framework/c-modules/eat_post mod_eat_post.c
Log:
Allow compilation with 1.3 which doesn't have AP_IOBUFSIZE, but httpd.h
#define's IOBUFSIZE.
Revision Changes Path
1.3 +4 -0
httpd-test/perl-framework/c-modules/eat_post/mod_eat_post.c
Index: mod_eat_post.c
===================================================================
RCS file:
/home/cvs/httpd-test/perl-framework/c-modules/eat_post/mod_eat_post.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mod_eat_post.c 17 Jan 2002 00:40:25 -0000 1.2
+++ mod_eat_post.c 18 Jun 2002 17:07:36 -0000 1.3
@@ -17,7 +17,11 @@
{
int rc;
long nrd, total = 0;
+#ifdef APACHE1
+ char buff[IOBUFSIZE];
+#else
char buff[AP_IOBUFSIZE];
+#endif
if (strcmp(r->handler, "eat_post")) {
return DECLINED;