first steps towards supporting the "bye" command

This commit is contained in:
marschap
2008-11-28 18:34:10 +00:00
parent a3db7b4cb2
commit 0dde525a46
7 changed files with 33 additions and 25 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ Client *client_create(int sock)
return NULL;
}
c->ack = 0;
c->state = NEW;
c->name = NULL;
c->menu = NULL;
@@ -110,7 +110,7 @@ client_destroy(Client *c)
input_release_client_keys(c);
/* Free client's other data */
c->ack = 0;
c->state = GONE;
/* Clean up the name...*/
if (c->name)