ref: 9f7983eaa31180c653f5a10c5bfecfd9b6bce142
parent: de06aef194165f01b3c8ba55b4e6c2fa48a84d18
author: uriel <[email protected]>
date: Thu Jan 22 09:24:48 EST 2009
Move comment to where it belong and note deprecation.
--- a/bin/cgilib.rc
+++ b/bin/cgilib.rc
@@ -24,7 +24,6 @@
}
-# 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 @@
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'