Possibly, although I plan to revise the notify_progress_increment() stuff someday soon, so I'm happy to leave things as they are for the moment.
--Wez. On Tue, 18 Mar 2003, Jon Parise wrote: > > - if (didwrite > 0) > > + if (didwrite > 0) { > > php_stream_notify_progress_increment(stream->context, didwrite, 0); > > + } > > > > + if (didwrite < 0) { > > + didwrite = 0; > > + } > Would it be preferable to use 'else if's in these cases, instead? > > if (nr_bytes > 0) { > php_stream_notify_progress_increment(stream->context, nr_bytes, 0); > } else if (nr_bytes < 0) { > nr_bytes = 0; > } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php