mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-26 14:44:16 +01:00
Fix oops
This commit is contained in:
parent
b78f626f2b
commit
fdbdfa679b
@ -508,7 +508,7 @@ bool FtpSession::poll (std::vector<UniqueFtpSession> const &sessions_)
|
||||
if (i.revents & ~(POLLIN | POLLPRI | POLLOUT))
|
||||
debug ("Command revents 0x%X\n", i.revents);
|
||||
|
||||
if (i.revents & POLLOUT)
|
||||
if (!session->m_dataSocket && (i.revents & POLLOUT))
|
||||
session->writeResponse ();
|
||||
|
||||
if (i.revents & (POLLIN | POLLPRI))
|
||||
|
Loading…
Reference in New Issue
Block a user