0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +01:00

modules/client/sync: Clarify double deindirection.

This commit is contained in:
Jason Volk 2019-07-20 21:42:32 -07:00
parent 70ec2a37c7
commit a151eadd62

View file

@ -865,7 +865,8 @@ ircd::m::sync::longpoll::poll(data &data)
// slightly more involved check of the socket before // slightly more involved check of the socket before
// we waste resources on the operation; throws. // we waste resources on the operation; throws.
check(*data.client->sock); const auto &client(*data.client);
net::check(*client.sock);
// Keep in mind if the handler returns true that means // Keep in mind if the handler returns true that means
// it made a hit and we can return true to exit longpoll // it made a hit and we can return true to exit longpoll