Optimize client_set_state for active state
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 23 Feb 2010 11:21:13 +0000 (12:21 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 23 Feb 2010 11:21:13 +0000 (12:21 +0100)
commitd84f89a5d8d75ea311c12a1ef89b7eea28c560fb
tree2b15318cd92c52dbb0963845afd897df3048fb56
parent944037cb95ef7a0eed6502fdea7541f2431b55cc
Optimize client_set_state for active state

Function client_set_state no longer calls session_active_clients
to check whether active clients has reached zero - when the state
that is being set for the client parameter is already known to be
"active".
src/client.c