Clean up UDP code

This commit is contained in:
Vladimir Dubrovin committed 2026-04-30 11:32:12 +03:00
1 parent b1ac46da79
commit a3fb7aff07
5 files changed
+102 -64

No files matched your search

+1 -1
View File
@@ -514,7 +514,7 @@ int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int
_3proxy_mutex_init(&rad_mutex);
#endif
#ifdef _WIN32
conf.threadinit = CreateSemaphore(NULL, 0, 1, NULL);
conf.threadinit = CreateSemaphore(NULL, 1, 1, NULL);
if(!conf.threadinit){
fprintf(stderr, "semaphore init failed\n");
return 1;