summaryrefslogtreecommitdiff
path: root/ext/ftp
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-03-17 17:16:43 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-03-17 17:16:43 +0000
commitfed3058fbaa680fb36fade20fe40a01555b7d683 (patch)
tree786fc2ff10056ebed82c57d59fc521791cf3f744 /ext/ftp
parent00832b763f98974ed37382bd7880e1e013aa777d (diff)
downloadphp-git-fed3058fbaa680fb36fade20fe40a01555b7d683.tar.gz
Fixed compiler warning on win32.
Diffstat (limited to 'ext/ftp')
-rw-r--r--ext/ftp/ftp.c2
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