aboutsummaryrefslogblamecommitdiff
path: root/www/nginx-devel/files/extra-patch-ngx_http_notice_module.c
blob: d62135ed6f9cfdeb17d89cbedb66b7b9245f5a4e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                                                                   








                                           
--- ../nginx-notice-3c95966/ngx_http_notice_module.c.orig	2009-07-16 18:37:57.000000000 +0200
+++ ../nginx-notice-3c95966/ngx_http_notice_module.c	2009-07-16 08:09:38.000000000 +0200
@@ -153,7 +153,7 @@
         return NGX_HTTP_NOT_ALLOWED;
     }
 
-    rc = ngx_http_discard_body(r);
+    rc = ngx_http_discard_request_body(r);
 
     if (rc != NGX_OK && rc != NGX_AGAIN) {
         return rc;