diff options
Diffstat (limited to 'src/Cookies.c')
-rw-r--r-- | src/Cookies.c | 4 |
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); |