MXS-2196: Pass Listener into dcb_accept
Modified the functions to use a listener instead of a DCB in the accepting process. This removes some of the dependenices that the listeners have on the DCB system.
This commit is contained in:
@ -285,7 +285,7 @@ static int cdc_accept(DCB* listener)
|
||||
int n_connect = 0;
|
||||
DCB* client_dcb;
|
||||
|
||||
while ((client_dcb = dcb_accept(listener)) != NULL)
|
||||
while ((client_dcb = dcb_accept(listener->listener)) != NULL)
|
||||
{
|
||||
CDC_session* client_data = NULL;
|
||||
CDC_protocol* protocol = NULL;
|
||||
|
Reference in New Issue
Block a user