28 Aug
2005
28 Aug
'05
1:54 a.m.
The following patch corrects a defect that prevents chuck from receiving TCP commands on Windows 98. chuck_main.cpp 505c505,511 < g_tid = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)otf_cb, NULL, 0, 0); ---
// [rd] pThreadID parameter is not optional on lesser win9x. DWORD dwThreadID; g_tid = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)otf_cb,
NULL, 0, &dwThreadID);
if (g_tid == NULL) { fprintf( stderr, "[chuck]: cannot spawn tcp listener
thread\n");
}