aboutsummaryrefslogtreecommitdiff
path: root/site.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-09-18 23:10:23 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-09-18 23:11:23 +0200
commit7708b5f493bf3057af331624d29664ad17a87dbc (patch)
treebe56e078c043b7338938507d048307e851249726 /site.h
parent9ff1b81d65c370a938cd9d9c033e04e395f00704 (diff)
downloadcforum-7708b5f493bf3057af331624d29664ad17a87dbc.tar.gz
Make nextparam work with non-NUL-terminated data
At least on POST.
Diffstat (limited to 'site.h')
-rw-r--r--site.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/site.h b/site.h
index 4e13319..800cdea 100644
--- a/site.h
+++ b/site.h
@@ -13,7 +13,7 @@
#define MAXUSERPARAM 512
/* Maximum size of user information, incl. NUL. */
-#define MAXUSERNAME 80
+#define MAXUSERNAME 40
#define MAXUSERFULL 128
#define MAXUSERPASS 128