0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

client: fix up client_release_connids() too, pointed out by lp0

This commit is contained in:
William Pitcock 2016-04-23 14:26:01 -05:00
parent 5c63bfe8b1
commit c6098ed357

View file

@ -194,8 +194,8 @@ client_release_connids(struct Client *client_p)
{
rb_dlink_node *ptr, *ptr2;
s_assert(MyClient(client_p));
if (!MyClient(client_p))
s_assert(MyConnect(client_p));
if (!MyConnect(client_p))
return;
RB_DLINK_FOREACH_SAFE(ptr, ptr2, client_p->localClient->connids.head)