Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 62740 invoked from network); 5 Dec 2008 07:17:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2008 07:17:28 -0000 Received: (qmail 13501 invoked by uid 500); 5 Dec 2008 07:17:40 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 13443 invoked by uid 500); 5 Dec 2008 07:17:40 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 13434 invoked by uid 99); 5 Dec 2008 07:17:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 23:17:40 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 07:16:19 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 983CE2388879; Thu, 4 Dec 2008 23:17:07 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r723631 - /httpd/httpd/branches/wombat-integration/modules/wombat/request.c Date: Fri, 05 Dec 2008 07:17:07 -0000 To: cvs@httpd.apache.org From: pquerna@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081205071707.983CE2388879@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: pquerna Date: Thu Dec 4 23:17:07 2008 New Revision: 723631 URL: http://svn.apache.org/viewvc?rev=723631&view=rev Log: Use ap_args_to_table instead of apreq for GET query params. Modified: httpd/httpd/branches/wombat-integration/modules/wombat/request.c Modified: httpd/httpd/branches/wombat-integration/modules/wombat/request.c URL: http://svn.apache.org/viewvc/httpd/httpd/branches/wombat-integration/modules/wombat/request.c?rev=723631&r1=723630&r2=723631&view=diff ============================================================================== --- httpd/httpd/branches/wombat-integration/modules/wombat/request.c (original) +++ httpd/httpd/branches/wombat-integration/modules/wombat/request.c Thu Dec 4 23:17:07 2008 @@ -139,11 +139,10 @@ /* r:parseargs() returning a lua table */ static int req_parseargs(lua_State* L) { request_rec* r = apw_check_request_rec(L, 1); - apreq_handle_t* h = apreq_handle_apache2(r); lua_newtable(L); lua_newtable(L); /* [table, table] */ const apr_table_t* form_table; - if (apreq_args(h, &form_table) == APR_SUCCESS) { + if (ap_args_to_table(r, &form_table) == APR_SUCCESS) { apr_table_do(req_aprtable2luatable_cb, L, form_table, NULL); } return 2; /* [table, table>] */