aboutsummaryrefslogtreecommitdiff
path: root/src/Cookies.c
diff options
context:
space:
mode:
authorgoodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2004-05-17 12:28:56 +0000
committergoodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2004-05-17 12:28:56 +0000
commitee9aa83b4b377ab5e18eeff6612f7ab15b3ecf3f (patch)
tree9d704ea57d5e320d67a3190522532d478f47cc2f /src/Cookies.c
parent0f6d8eb2db87c7c71875c9e80802ed8033170602 (diff)
Untabified. Please try to adhere to the Cactus coding guidelines when
modifying or adding files. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@206 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/Cookies.c')
-rw-r--r--src/Cookies.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Cookies.c b/src/Cookies.c
index c153608..0558006 100644
--- a/src/Cookies.c
+++ b/src/Cookies.c
@@ -177,12 +177,12 @@ char *HTTP_CookieGet(httpRequest *request, const char *cookie_name)
&& position == 0 )
{
if( FindCharFrom( value, '=', &position )
- && position == Length( name ) )
+ && position == Length( name ) )
{
TrimLeading( value, position + 1 );
retval = Util_Strdup( GetBuffer( value ) );
}
- break;
+ break;
}
}
String_Delete(name);