iliaa Thu Mar 17 12:16:44 2005 EDT
Modified files:
/php-src/ext/ftp ftp.c
Log:
Fixed compiler warning on win32.
http://cvs.php.net/diff.php/php-src/ext/ftp/ftp.c?r1=1.109&r2=1.110&ty=u
Index: php-src/ext/ftp/ftp.c
diff -u php-src/ext/ftp/ftp.c:1.109 php-src/ext/ftp/ftp.c:1.110
--- php-src/ext/ftp/ftp.c:1.109 Thu Mar 10 18:37:45 2005
+++ php-src/ext/ftp/ftp.c Thu Mar 17 12:16:43 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ftp.c,v 1.109 2005/03/10 23:37:45 iliaa Exp $ */
+/* $Id: ftp.c,v 1.110 2005/03/17 17:16:43 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -838,7 +838,9 @@
}
if (type == FTPTYPE_ASCII) {
+#ifndef PHP_WIN32
char *s;
+#endif
char *ptr = data->buf;
char *e = ptr + rcvd;
/* logic depends on the OS EOL
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php