swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit b6f34eb864a090ef67752dbc1e9b9fdbe658b43b
parent a2251757cc07c5152f2b13afd45e64194fc7f1d9
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Thu, 22 Jan 2009 14:24:48 +0100

Move comment to where it belong and note deprecation.
Diffstat:
Mbin/cgilib.rc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/cgilib.rc b/bin/cgilib.rc @@ -24,7 +24,6 @@ fn static_file { } -# Status is () if at least one arg is found. # Note: should check if content type is application/x-www-form-urlencoded? fn load_post_args { if(~ $REQUEST_METHOD POST && ~ $#post_args 0) { @@ -40,6 +39,7 @@ fn load_post_args { if not status='No POST or post args already loaded' } +# Status is () if at least one arg is found. DEPRECATED: access vars directly. fn get_post_args { load_post_args _status='No post arg matches'