wez Wed May 26 17:19:21 2004 EDT Modified files: /php-src/main/streams filter.c php_stream_filter_api.h Log: Fix silly mistake. Thanks Antony :) http://cvs.php.net/diff.php/php-src/main/streams/filter.c?r1=1.11&r2=1.12&ty=u Index: php-src/main/streams/filter.c diff -u php-src/main/streams/filter.c:1.11 php-src/main/streams/filter.c:1.12 --- php-src/main/streams/filter.c:1.11 Wed Mar 31 22:52:34 2004 +++ php-src/main/streams/filter.c Wed May 26 17:19:21 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: filter.c,v 1.11 2004/04/01 03:52:34 pollita Exp $ */ +/* $Id: filter.c,v 1.12 2004/05/26 21:19:21 wez Exp $ */ #include "php.h" #include "php_globals.h" @@ -283,7 +283,7 @@ pefree(filter, filter->is_persistent); } -PHPAPI void php_stream_filter_prepend(php_stream_filter_chain *chain, php_stream_filter *filter TSRMLS_DC) +PHPAPI void _php_stream_filter_prepend(php_stream_filter_chain *chain, php_stream_filter *filter TSRMLS_DC) { filter->next = chain->head; filter->prev = NULL; @@ -297,7 +297,7 @@ filter->chain = chain; } -PHPAPI void php_stream_filter_append(php_stream_filter_chain *chain, php_stream_filter *filter TSRMLS_DC) +PHPAPI void _php_stream_filter_append(php_stream_filter_chain *chain, php_stream_filter *filter TSRMLS_DC) { php_stream *stream = chain->stream; http://cvs.php.net/diff.php/php-src/main/streams/php_stream_filter_api.h?r1=1.8&r2=1.9&ty=u Index: php-src/main/streams/php_stream_filter_api.h diff -u php-src/main/streams/php_stream_filter_api.h:1.8 php-src/main/streams/php_stream_filter_api.h:1.9 --- php-src/main/streams/php_stream_filter_api.h:1.8 Wed Mar 31 18:48:59 2004 +++ php-src/main/streams/php_stream_filter_api.h Wed May 26 17:19:21 2004 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_stream_filter_api.h,v 1.8 2004/03/31 23:48:59 pollita Exp $ */ +/* $Id: php_stream_filter_api.h,v 1.9 2004/05/26 21:19:21 wez Exp $ */ /* The filter API works on the principle of "Bucket-Brigades". This is * partially inspired by the Apache 2 method of doing things, although @@ -129,8 +129,8 @@ END_EXTERN_C() #define php_stream_filter_alloc(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr), (persistent) STREAMS_CC TSRMLS_CC) #define php_stream_filter_alloc_rel(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr), (persistent) STREAMS_REL_CC TSRMLS_CC) -#define php_stream_fitler_prepend(chain, filter) _php_stream_filter_prepend((chain), (filter) TSRMLS_CC) -#define php_stream_fitler_append(chain, filter) _php_stream_filter_append((chain), (filter) TSRMLS_CC) +#define php_stream_filter_prepend(chain, filter) _php_stream_filter_prepend((chain), (filter) TSRMLS_CC) +#define php_stream_filter_append(chain, filter) _php_stream_filter_append((chain), (filter) TSRMLS_CC) #define php_stream_is_filtered(stream) ((stream)->readfilters.head || (stream)->writefilters.head)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php