- }
- iochan_setdata(new_chan, newas);
- iochan_settimeout(new_chan, control_block.idle_timeout * 60);
- a = cs_addrstr(new_line);
- logf(LOG_LOG, "Accepted connection from %s", a ? a : "[Unknown]");
-
- /* Now what we need todo is create a new thread with this iochan as the parameter */
-/* if (CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)event_loop, new_chan, 0, &ThreadId) == NULL)
-*/
- /* Somehow, somewhere we need to store this thread id, otherwise we won't be able to close cleanly */
+ }
+ logf(LOG_DEBUG, "accept ok 3");
+ iochan_setdata(new_chan, newas);
+ iochan_settimeout(new_chan, control_block.idle_timeout * 60);
+ a = cs_addrstr(new_line);
+ logf(LOG_LOG, "Accepted connection from %s", a ? a : "[Unknown]");
+ /* Now what we need todo is create a new thread with this iochan as
+ the parameter */
+ /* if (CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)event_loop, new_chan,
+ 0, &ThreadId) == NULL) */
+ /* Somehow, somewhere we need to store this thread id, otherwise we won't be
+ able to close cleanly */