[svn:mod_parrot] rev 180 - in mod_parrot/trunk: . lib/APR

[email protected]
Newsgroups perl.cvs.mod_parrot
Message-ID <[email protected]>
Author: jhorwitz
Date: Fri Jul 29 11:57:52 2005
New Revision: 180

Modified:
   mod_parrot/trunk/call_list.txt
   mod_parrot/trunk/lib/APR/Table.imc
Log:
fix segfault APR::Table::set


Modified: mod_parrot/trunk/call_list.txt
==============================================================================
--- mod_parrot/trunk/call_list.txt	(original)
+++ mod_parrot/trunk/call_list.txt	Fri Jul 29 11:57:52 2005
@@ -13,5 +13,5 @@ t	Jpt
 i	Jp
 i	Jpi
 i	JPip
-t	ptt
+v	ptt
 v	pit

Modified: mod_parrot/trunk/lib/APR/Table.imc
==============================================================================
--- mod_parrot/trunk/lib/APR/Table.imc	(original)
+++ mod_parrot/trunk/lib/APR/Table.imc	Fri Jul 29 11:57:52 2005
@@ -50,7 +50,7 @@ tables in Apache.
     dlfunc func, nul, "apr_table_get", "tpt"
     store_global "APR::NCI", "apr_table_get", func
 
-    dlfunc func, nul, "apr_table_set", "tptt"
+    dlfunc func, nul, "apr_table_set", "vptt"
     store_global "APR::NCI", "apr_table_set", func
 .end
 
@@ -110,7 +110,7 @@ Set a value in the table.
     classoffset offset, self, 'APR::Table'
     getattribute t, self, offset
     find_global apr_table_set, 'APR::NCI', 'apr_table_set'
-    val = apr_table_set(t, key, val)
+    apr_table_set(t, key, val)
 .end
     
 =over 4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.