cvs: php4 /main streams.c

From: Date: Mon, 14 Oct 2002 05:38:50 +0000
Subject: cvs: php4 /main streams.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14908@lists.php.net to get a copy of this message
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; }

« previous php.cvs (#14908) next »