aboutsummaryrefslogtreecommitdiff
path: root/query.c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-09-18 22:51:30 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-09-18 22:51:44 +0200
commit9ff1b81d65c370a938cd9d9c033e04e395f00704 (patch)
tree3f507a48d8d39f27a36b3fab32b0a230abe512f4 /query.c
parent2b915a42f6665b4110338cfde30eedc55abe7f3c (diff)
downloadcforum-9ff1b81d65c370a938cd9d9c033e04e395f00704.tar.gz
New user
Diffstat (limited to 'query.c')
-rw-r--r--query.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/query.c b/query.c
index 7947d59..370fa54 100644
--- a/query.c
+++ b/query.c
@@ -6,8 +6,9 @@
/*
* Return an allocated string containing the next query string parameter
- * ("key=value"). The string is truncated to max characters. If truncation
- * occurred, the -1th character of the string is set to 1.
+ * ("key=value"). The string is truncated to max characters (but is always
+ * NUL-terminated). If truncation occurred, the -1th character of the string
+ * is set to 1.
*/
char *
nextparam(enum method method, int max)
@@ -104,4 +105,10 @@ split(char *param)
return NULL;
param[n] = 0;
return param+n+1;
+}
+
+void
+urldecode(char *s)
+{
+
} \ No newline at end of file