changeset 1505:4f98690a951a

unnecessary test
author corvid <corvid@lavabit.com>
date Sat, 09 Jan 2010 23:49:58 +0000
parents d10adebe95fb
children 408f86fed820
files dpi/cookies.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dpi/cookies.c	Sat Jan 09 23:47:58 2010 +0000
+++ b/dpi/cookies.c	Sat Jan 09 23:49:58 2010 +0000
@@ -797,7 +797,7 @@
       ret = (!strncmp(cookie_path, url_path, c_len) &&
              ((c_len == u_len) ||
               (c_len > 0 && cookie_path[c_len - 1] == '/') ||
-              (u_len > c_len && url_path[c_len] == '/')));
+              (url_path[c_len] == '/')));
    }
    return ret;
 }