cvs: php4 /main php_streams.h

From: Date: Fri, 12 Apr 2002 18:17:20 +0000
Subject: cvs: php4 /main php_streams.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11092@lists.php.net to get a copy of this message
wez Fri Apr 12 14:17:20 2002 EDT Modified files: /php4/main php_streams.h Log: fix segfault Index: php4/main/php_streams.h diff -u php4/main/php_streams.h:1.28 php4/main/php_streams.h:1.29 --- php4/main/php_streams.h:1.28 Wed Apr 10 18:42:29 2002 +++ php4/main/php_streams.h Fri Apr 12 14:17:19 2002 @@ -400,7 +400,7 @@ php_stream_notification_notify((context), PHP_STREAM_NOTIFY_PROGRESS, PHP_STREAM_NOTIFY_SEVERITY_INFO, \ NULL, 0, (bsofar), (bmax), NULL TSRMLS_CC); } } while(0) -#define php_stream_notify_progress_init(context, sofar, bmax) do { if ((context)->notifier) { \ +#define php_stream_notify_progress_init(context, sofar, bmax) do { if ((context) && (context)->notifier) { \ (context)->notifier->progress = (sofar); \ (context)->notifier->progress_max = (bmax); \ (context)->notifier->mask |= PHP_STREAM_NOTIFIER_PROGRESS; \

« previous php.cvs (#11092) next »