httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r733267 - /httpd/apreq/branches/v2_10/library/parser.c
Date Sat, 10 Jan 2009 11:52:39 GMT
Author: joes
Date: Sat Jan 10 03:52:39 2009
New Revision: 733267

URL: http://svn.apache.org/viewvc?rev=733267&view=rev
Log:
only retrieve a param that successfully
runs its hooks

Modified:
    httpd/apreq/branches/v2_10/library/parser.c

Modified: httpd/apreq/branches/v2_10/library/parser.c
URL: http://svn.apache.org/viewvc/httpd/apreq/branches/v2_10/library/parser.c?rev=733267&r1=733266&r2=733267&view=diff
==============================================================================
--- httpd/apreq/branches/v2_10/library/parser.c (original)
+++ httpd/apreq/branches/v2_10/library/parser.c Sat Jan 10 03:52:39 2009
@@ -347,7 +347,8 @@
     apr_status_t s = (hook->next == NULL)
         ? APR_SUCCESS : apreq_hook_run(hook->next, param, bb);
 
-    if (is_final && strcasecmp(ctx->name, param->v.name) == 0) {
+    if (is_final && s == APR_SUCCESS
+        && strcasecmp(ctx->name, param->v.name) == 0) {
         ctx->param = param;
         ctx->prev[0]->next = hook->next;
     }



Mime
View raw message