aboutsummaryrefslogtreecommitdiff
path: root/www/mod_accounting/files/patch-mod_accounting.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_accounting/files/patch-mod_accounting.c')
-rw-r--r--www/mod_accounting/files/patch-mod_accounting.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/www/mod_accounting/files/patch-mod_accounting.c b/www/mod_accounting/files/patch-mod_accounting.c
deleted file mode 100644
index 3ed2dd7eb7f7..000000000000
--- a/www/mod_accounting/files/patch-mod_accounting.c
+++ /dev/null
@@ -1,30 +0,0 @@
-*** mod_accounting.c.orig Sun Sep 8 18:17:22 2002
---- mod_accounting.c Fri Nov 11 11:26:43 2005
-***************
-*** 140,146 ****
- // computes the number of bytes received
- static long BytesRecvd( request_rec *r )
- {
-! long recvd;
- const char *len;
-
- #ifdef DEBUG
---- 140,146 ----
- // computes the number of bytes received
- static long BytesRecvd( request_rec *r )
- {
-! long recvd=0;
- const char *len;
-
- #ifdef DEBUG
-***************
-*** 148,153 ****
---- 148,155 ----
- "BytesRecvd" );
- #endif
-
-+ if( ! r ) return( 0 ); // empty request
-+ if( ! r->the_request ) return( 0 ); // empty request
- recvd = strlen( r->the_request ) + TableLen( r, r->headers_in ) + 4; // 2 for CRLF after the request, 2 for CRLF after all headers
-
- len = ap_table_get( r->headers_in, "Content-Length" );