Ensure show watch is fired if client is disconnected.
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 2 Oct 2007 10:32:03 +0000 (10:32 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 2 Oct 2007 10:32:03 +0000 (10:32 +0000)
commitc0a89e3e20189dbb2073522cc888e5b84a53df04
tree66ab0a4ce5ca125844c067a6d8f9d17d0c4bf7eb
parent3ea2f6ca025f6888d3ef2af4fa1e342d84fe1725
Ensure show watch is fired if client is disconnected.
When a client is disconnected connection_destroy and, in turn,
client_disconnect is invoked. This function now calls client_set_state
rather than setting the state directly.
src/client.c