diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-09-24 06:24:14 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-09-24 06:24:14 +0000 |
commit | e558ab6ac8930e3393291fe12289ad43175b8a1d (patch) | |
tree | 28431b8ed791901e772633559db55d97fa493427 /source/web/cgi.c | |
parent | 73f10d3ef6de2dbcb23f93ef93eb9e7053ebf26b (diff) | |
download | samba-e558ab6ac8930e3393291fe12289ad43175b8a1d.tar.gz samba-e558ab6ac8930e3393291fe12289ad43175b8a1d.tar.xz samba-e558ab6ac8930e3393291fe12289ad43175b8a1d.zip |
fixed a silly off by 1 bug
Diffstat (limited to 'source/web/cgi.c')
-rw-r--r-- | source/web/cgi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/web/cgi.c b/source/web/cgi.c index 7b12bf57489..939b8f94cdc 100644 --- a/source/web/cgi.c +++ b/source/web/cgi.c @@ -221,13 +221,13 @@ void cgi_load_variables(void) pstring dest; convert_string(CH_DISPLAY, CH_UNIX, - variables[i].name, strlen(variables[i].name), + variables[i].name, -1, dest, sizeof(dest)); free(variables[i].name); variables[i].name = strdup(dest); convert_string(CH_DISPLAY, CH_UNIX, - variables[i].value, strlen(variables[i].name), + variables[i].value, -1, dest, sizeof(dest)); free(variables[i].value); variables[i].value = strdup(dest); |