cvs: php-src /ext/zip zip_stream.c
| From: | Ilia Alshanetsky | Date: | Thu, 27 Jul 2006 00:37:06 +0000 |
| Subject: | cvs: php-src /ext/zip zip_stream.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-39559@lists.php.net to get a copy of this message | ||
iliaa Thu Jul 27 00:37:06 2006 UTC
Modified files:
/php-src/ext/zip zip_stream.c
Log:
MFB: Fixed compiler warnings.
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/zip_stream.c?r1=1.1&r2=1.2&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.2
--- 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:37:06 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.2 2006/07/27 00:37:06 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;
}