diff options
author | tradke <tradke@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2001-04-03 11:52:30 +0000 |
---|---|---|
committer | tradke <tradke@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2001-04-03 11:52:30 +0000 |
commit | 9440c6b2556d012a91c44eee00c56790819b722f (patch) | |
tree | 570ff51e6484286a8aef911fd7e1e3670b4f989b /src/Cookies.c | |
parent | f205b15ff648ff94aa3c3ab40a66a2cc9404f864 (diff) |
Fixed most of the compiler warnings.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@120 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/Cookies.c')
-rw-r--r-- | src/Cookies.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cookies.c b/src/Cookies.c index b5e996e..3fa4e2d 100644 --- a/src/Cookies.c +++ b/src/Cookies.c @@ -168,7 +168,7 @@ char *HTTP_CookieGet(httpRequest *request, position = copy; /* Search for name=value */ - while(position = strstr(position, name)) + while((position = strstr(position, name)) != NULL) { position += strlen(name); if(*position == '=') |