changeset 35287:d67d5ae9c144

Do not do sign comparisons on "char" type which can be both signed or unsigned.
author reimar
date Sat, 10 Nov 2012 12:16:53 +0000
parents ce056ec9e801
children 4297ab925799
files stream/cookies.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/cookies.c	Sat Nov 10 12:14:26 2012 +0000
+++ b/stream/cookies.c	Sat Nov 10 12:16:53 2012 +0000
@@ -167,7 +167,7 @@
     if (!ptr)
 	return list;
 
-    while (*ptr > 0) {
+    while (*ptr) {
 	char *cols[7];
 	if (parse_line(&ptr, cols)) {
 	    struct cookie_list_type *new;