diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-09-24 06:02:31 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-09-24 06:02:31 +0000 |
commit | 73f10d3ef6de2dbcb23f93ef93eb9e7053ebf26b (patch) | |
tree | 5299fd9abb3e1cd21ae33b95bc43a17d2757dcde /source/web | |
parent | 3a2a96772304bbf04a2bdb2d3a8f9d92df62fc5f (diff) | |
download | samba-73f10d3ef6de2dbcb23f93ef93eb9e7053ebf26b.tar.gz |
fixed bug in POST var handling
Diffstat (limited to 'source/web')
-rw-r--r-- | source/web/cgi.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/web/cgi.c b/source/web/cgi.c index 0227cd07a62..7b12bf57489 100644 --- a/source/web/cgi.c +++ b/source/web/cgi.c @@ -221,19 +221,17 @@ void cgi_load_variables(void) pstring dest; convert_string(CH_DISPLAY, CH_UNIX, - variables[i].name, -1, + variables[i].name, strlen(variables[i].name), dest, sizeof(dest)); free(variables[i].name); variables[i].name = strdup(dest); convert_string(CH_DISPLAY, CH_UNIX, - variables[i].value, -1, + variables[i].value, strlen(variables[i].name), dest, sizeof(dest)); free(variables[i].value); variables[i].value = strdup(dest); } - - } |