mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-06-28 23:26:05 +02: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))
|
if (i.revents & ~(POLLIN | POLLPRI | POLLOUT))
|
||||||
debug ("Command revents 0x%X\n", i.revents);
|
debug ("Command revents 0x%X\n", i.revents);
|
||||||
|
|
||||||
if (i.revents & POLLOUT)
|
if (!session->m_dataSocket && (i.revents & POLLOUT))
|
||||||
session->writeResponse ();
|
session->writeResponse ();
|
||||||
|
|
||||||
if (i.revents & (POLLIN | POLLPRI))
|
if (i.revents & (POLLIN | POLLPRI))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user