diff options
-rw-r--r-- | ext/ftp/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index fd8b7363a7..8f9f737678 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -1859,7 +1859,7 @@ data_accepted: php_pollfd p; int i; - p.fd = ftp->fd; + p.fd = data->fd; p.events = (err == SSL_ERROR_WANT_READ) ? (POLLIN|POLLPRI) : POLLOUT; p.revents = 0; |