cvs: /php4/ext/standard string.c

From: Date: Mon, 06 Dec 1999 19:01:53 +0000
Subject: cvs: /php4/ext/standard string.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-7545@lists.php.net to get a copy of this message
thies Mon Dec 6 14:01:53 1999 EDT Modified files: /php4/ext/standard string.c Log: fixed warning Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.65 php4/ext/standard/string.c:1.66 --- php4/ext/standard/string.c:1.65 Mon Dec 6 13:29:22 1999 +++ php4/ext/standard/string.c Mon Dec 6 14:01:21 1999 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.65 1999/12/06 18:29:22 thies Exp $ */ +/* $Id: string.c,v 1.66 1999/12/06 19:01:21 thies Exp $ */ /* Synced with php3 revision 1.193 1999-06-16 [ssb] */ @@ -224,7 +224,7 @@ } else do { add_index_stringl(return_value, i++, p1, p2-p1, 1); p1 = p2 + delim->value.str.len; - } while (p2 = php_memnstr(p1, delim->value.str.val, delim->value.str.len, endp)); + } while ((p2 = php_memnstr(p1, delim->value.str.val, delim->value.str.len, endp)) != NULL); if (p1 <= endp) { add_index_stringl(return_value, i++, p1, endp-p1, 1);

« previous php.version4 (#7545) next »