diff options
-rw-r--r-- | ext/ftp/ftp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index 8a229a17c6..208b6e79e7 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -838,7 +838,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 |