diff options
author | swhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2004-04-16 11:46:33 +0000 |
---|---|---|
committer | swhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2004-04-16 11:46:33 +0000 |
commit | f74e95157e422e2b3f583582f3cb0f5adbc6868d (patch) | |
tree | 4373f6a8a96eb1a1f794c23bac0fb1869ad10a04 | |
parent | 2985e4a0702f0e2b67a18be4d214ac8d2ad9be8a (diff) |
Missed one
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@194 1faa4e14-9dd3-4be0-9f0e-ffe519881164
-rw-r--r-- | src/http.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -720,6 +720,8 @@ static int StripArgs(httpRequest *request, char *request_uri) if(value) { + httpArg *argument; + *value = 0; value++; @@ -728,7 +730,7 @@ static int StripArgs(httpRequest *request, char *request_uri) Decode(token); Decode(value); - httpArg *argument = (httpArg *)malloc(sizeof(httpArg)); + argument = (httpArg *)malloc(sizeof(httpArg)); if(argument) { |