iliaa Thu Jul 27 00:36:55 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/zip zip_stream.c
Log:
Fixed compiler warnings.
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/zip_stream.c?r1=1.1&r2=1.1.2.1&diff_format=u
Index: php-src/ext/zip/zip_stream.c
diff -u php-src/ext/zip/zip_stream.c:1.1 php-src/ext/zip/zip_stream.c:1.1.2.1
--- php-src/ext/zip/zip_stream.c:1.1 Mon Jul 24 16:58:58 2006
+++ php-src/ext/zip/zip_stream.c Thu Jul 27 00:36:55 2006
@@ -1,4 +1,4 @@
-/* $Id: zip_stream.c,v 1.1 2006/07/24 16:58:58 pajoye Exp $ */
+/* $Id: zip_stream.c,v 1.1.2.1 2006/07/27 00:36:55 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
@@ -10,6 +10,7 @@
#include "php_streams.h"
#include "ext/standard/file.h"
+#include "ext/standard/php_string.h"
#include "fopen_wrappers.h"
#include "ext/standard/url.h"
@@ -47,8 +48,6 @@
/* {{{ php_zip_ops_write */
static size_t php_zip_ops_write(php_stream *stream, const char *buf, size_t
count TSRMLS_DC)
{
- STREAM_DATA_FROM_STREAM();
-
if (!stream) {
return 0;
}
@@ -74,9 +73,6 @@
/* {{{ php_zip_ops_flush */
static int php_zip_ops_flush(php_stream *stream TSRMLS_DC)
{
-
- STREAM_DATA_FROM_STREAM();
-
if (!stream) {
return 0;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php