Added status checks, removed some dead code, changed macros to enumerated types, renamed variables to reflect better what they mean.

This commit is contained in:
vraatikka
2013-08-28 22:59:53 +03:00
parent 8c8475740a
commit 786468fc5d
5 changed files with 100 additions and 138 deletions

View File

@ -325,7 +325,7 @@ int n_connect = 0;
client->remote = strdup(inet_ntoa(addr.sin_addr));
memcpy(&client->func, &MyObject, sizeof(GWPROTOCOL));
client->session = session_alloc(dcb->session->service, client);
ss_dassert(client->session->state != SESSION_STATE_ALLOC);
client->state = DCB_STATE_IDLE;
/* create the session data for HTTPD */