Misc fixes

This commit is contained in:
Mark Riddoch
2013-06-19 18:46:24 +02:00
parent 0fc2f9dda3
commit 39c8695819
11 changed files with 191 additions and 39 deletions

View File

@ -1026,6 +1026,7 @@ int gw_MySQLAccept(DCB *listener) {
client = alloc_dcb();
client->fd = c_sock;
client->remote = strdup(inet_ntoa(local.sin_addr));
session = session_alloc(listener->session->service, client);
client->session = session;