aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorswhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2004-04-16 11:46:33 +0000
committerswhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2004-04-16 11:46:33 +0000
commitf74e95157e422e2b3f583582f3cb0f5adbc6868d (patch)
tree4373f6a8a96eb1a1f794c23bac0fb1869ad10a04
parent2985e4a0702f0e2b67a18be4d214ac8d2ad9be8a (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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http.c b/src/http.c
index 0aea4d5..fface5f 100644
--- a/src/http.c
+++ b/src/http.c
@@ -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)
{