aboutsummaryrefslogtreecommitdiff
path: root/cforum.c
diff options
context:
space:
mode:
Diffstat (limited to 'cforum.c')
-rw-r--r--cforum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cforum.c b/cforum.c
index feee431..999ae78 100644
--- a/cforum.c
+++ b/cforum.c
@@ -73,7 +73,7 @@ main(int argc, char *argv[])
/* Parse query string. */
new = NULL;
attid = postid = userid = 0;
- while(p = nextparam(GET, 128)){
+ while(p = nextparam(GET, NULL, 128)){
v = split(p);
if(!attid && strcmp(p, "att") == 0) attid = atoi(v);
else if(!postid && strcmp(p, "post") == 0) postid = atoi(v);