Avoid client_set_state on destroyed client
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 23 Apr 2010 11:54:21 +0000 (13:54 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 23 Apr 2010 11:54:21 +0000 (13:54 +0200)
commit1498181abb059f78afc0ad4f7bcea0b5c13c7964
treef59ad1cae8758fc88cc7d85404322d2977f1a2df
parent111cd7b055fafeb0bf763b3d44ddccdf9515a144
Avoid client_set_state on destroyed client

Call client_set_state before connection_destroy because
connection_destroy might remove client (reference count 0).
src/connection.c