mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
client: connid_get() should check MyConnect(), not MyClient().
This commit is contained in:
parent
84e3e445aa
commit
5c63bfe8b1
1 changed files with 2 additions and 2 deletions
|
@ -140,8 +140,8 @@ init_client(void)
|
|||
uint32_t
|
||||
connid_get(struct Client *client_p)
|
||||
{
|
||||
s_assert(MyClient(client_p));
|
||||
if (!MyClient(client_p))
|
||||
s_assert(MyConnect(client_p));
|
||||
if (!MyConnect(client_p))
|
||||
return 0;
|
||||
|
||||
/* find a connid that is available */
|
||||
|
|
Loading…
Reference in a new issue