1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 19:23:22 +02:00

MFH: Fixed compiler warning on win32.

This commit is contained in:
Ilia Alshanetsky
2005-03-17 17:16:53 +00:00
parent 8224851858
commit a35b6ffd5d
+2
View File
@@ -705,7 +705,9 @@ ftp_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, ftptype_t type,
}
if (type == FTPTYPE_ASCII) {
#ifndef PHP_WIN32
char *s;
#endif
char *ptr = data->buf;
char *e = ptr + rcvd;
/* logic depends on the OS EOL