httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r733274 - in /httpd/apreq/branches/v2_10: CHANGES include/apreq_parser.h library/module_cgi.c library/parser.c module/apache2/handle.c
Date Sat, 10 Jan 2009 14:04:13 GMT
Author: joes
Date: Sat Jan 10 06:04:13 2009
New Revision: 733274

URL: http://svn.apache.org/viewvc?rev=733274&view=rev
Log:
simplify

Modified:
    httpd/apreq/branches/v2_10/CHANGES
    httpd/apreq/branches/v2_10/include/apreq_parser.h
    httpd/apreq/branches/v2_10/library/module_cgi.c
    httpd/apreq/branches/v2_10/library/parser.c
    httpd/apreq/branches/v2_10/module/apache2/handle.c

Modified: httpd/apreq/branches/v2_10/CHANGES
URL: http://svn.apache.org/viewvc/httpd/apreq/branches/v2_10/CHANGES?rev=733274&r1=733273&r2=733274&view=diff
==============================================================================
--- httpd/apreq/branches/v2_10/CHANGES (original)
+++ httpd/apreq/branches/v2_10/CHANGES Sat Jan 10 06:04:13 2009
@@ -4,7 +4,8 @@
 
 @section v2_10 Changes with libapreq2-2.10 (released Nov 11, 2008)
 
-- Clean up buggy apreq_hook_find_param().
+- C API [joes]
+  Clean up buggy apreq_hook_find_param().
 
 - Perl Glue Build [Philip M. Gollucci]
   config.status format changed format yet again in autoconf 2.62+.

Modified: httpd/apreq/branches/v2_10/include/apreq_parser.h
URL: http://svn.apache.org/viewvc/httpd/apreq/branches/v2_10/include/apreq_parser.h?rev=733274&r1=733273&r2=733274&view=diff
==============================================================================
--- httpd/apreq/branches/v2_10/include/apreq_parser.h (original)
+++ httpd/apreq/branches/v2_10/include/apreq_parser.h Sat Jan 10 06:04:13 2009
@@ -272,7 +272,7 @@
 typedef struct apreq_hook_find_param_ctx_t {
     const char    *name;
     apreq_param_t *param;
-    apreq_hook_t **prev;
+    apreq_hook_t  *prev;
 } apreq_hook_find_param_ctx_t;
 
 

Modified: httpd/apreq/branches/v2_10/library/module_cgi.c
URL: http://svn.apache.org/viewvc/httpd/apreq/branches/v2_10/library/module_cgi.c?rev=733274&r1=733273&r2=733274&view=diff
==============================================================================
--- httpd/apreq/branches/v2_10/library/module_cgi.c (original)
+++ httpd/apreq/branches/v2_10/library/module_cgi.c Sat Jan 10 06:04:13 2009
@@ -480,7 +480,7 @@
         h->ctx = hook_ctx;
         hook_ctx->name = name;
         hook_ctx->param = NULL;
-        hook_ctx->prev = &req->parser->hook;
+        hook_ctx->prev = req->parser->hook;
 
         do {
             cgi_read(handle, APREQ_DEFAULT_READ_BLOCK_SIZE);

Modified: httpd/apreq/branches/v2_10/library/parser.c
URL: http://svn.apache.org/viewvc/httpd/apreq/branches/v2_10/library/parser.c?rev=733274&r1=733273&r2=733274&view=diff
==============================================================================
--- httpd/apreq/branches/v2_10/library/parser.c (original)
+++ httpd/apreq/branches/v2_10/library/parser.c Sat Jan 10 06:04:13 2009
@@ -350,7 +350,7 @@
     if (is_final && s == APR_SUCCESS
         && strcasecmp(ctx->name, param->v.name) == 0) {
         ctx->param = param;
-        ctx->prev[0]->next = hook->next;
+        ctx->prev->next = hook->next;
     }
     return s;
 }

Modified: httpd/apreq/branches/v2_10/module/apache2/handle.c
URL: http://svn.apache.org/viewvc/httpd/apreq/branches/v2_10/module/apache2/handle.c?rev=733274&r1=733273&r2=733274&view=diff
==============================================================================
--- httpd/apreq/branches/v2_10/module/apache2/handle.c (original)
+++ httpd/apreq/branches/v2_10/module/apache2/handle.c Sat Jan 10 06:04:13 2009
@@ -213,7 +213,7 @@
         h->ctx = hook_ctx;
         hook_ctx->name = name;
         hook_ctx->param = NULL;
-        hook_ctx->prev = &ctx->parser->hook;
+        hook_ctx->prev = ctx->parser->hook;
 
         do {
             apreq_filter_prefetch(f, APREQ_DEFAULT_READ_BLOCK_SIZE);



Mime
View raw message