diff options
author | swhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2004-04-16 11:42:08 +0000 |
---|---|---|
committer | swhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2004-04-16 11:42:08 +0000 |
commit | 2985e4a0702f0e2b67a18be4d214ac8d2ad9be8a (patch) | |
tree | 72249479e780120aad98475dbd0f69ef48f86368 /src/http.c | |
parent | 310f5363afe8ed31b6381ff002991d5c7cfa6d96 (diff) |
Addresses Cactus bug 907
Added ability to send HTTP Refresh header: HTTP_Send_OK_Refresh_Header
Added parameter HTTP::refresh_seconds
Made main content window to respond to refresh parameter setting
Also
Minor improvements to String module
Fixed variable decarations after executable code in a block.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@193 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/http.c')
-rw-r--r-- | src/http.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -702,6 +702,7 @@ static int StripArgs(httpRequest *request, char *request_uri) /* Do we have arguments ? */ if((position = strchr(request_uri, '?'))) { + char *token; /* Mark the end of the URI */ *position = 0; @@ -711,7 +712,7 @@ static int StripArgs(httpRequest *request, char *request_uri) /* Parse the argument list */ position++; - char *token = strtok(position, "&"); + token = strtok(position, "&"); while(token) { |