wez Mon Oct 14 01:38:50 2002 EDT Modified files: /php4/main streams.c Log: *cough* Fix inverted logic for the assert. Index: php4/main/streams.c diff -u php4/main/streams.c:1.104 php4/main/streams.c:1.105 --- php4/main/streams.c:1.104 Sun Oct 13 22:28:35 2002 +++ php4/main/streams.c Mon Oct 14 01:38:50 2002 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: streams.c,v 1.104 2002/10/14 02:28:35 wez Exp $ */ +/* $Id: streams.c,v 1.105 2002/10/14 05:38:50 wez Exp $ */ #define _GNU_SOURCE #include "php.h" @@ -760,8 +760,9 @@ } if (total_copied == 0) { - if (grow_mode) - assert(bufstart != NULL); + if (grow_mode) { + assert(bufstart == NULL); + } return NULL; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php