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

Fix a crash after a local client exits.

This commit is contained in:
Jilles Tjoelker 2008-01-01 18:15:56 +01:00
parent d61de0adff
commit 997613d2f3

View file

@ -222,7 +222,7 @@ free_local_client(struct Client *client_p)
client_p->localClient->listener = 0;
}
if(client_p->localClient->F->fd >= 0)
if(client_p->localClient->F)
comm_close(client_p->localClient->F->fd);
if(client_p->localClient->passwd)