← Commit list

a3699e8b9e

Viktor Szakats
Viktor Szakats
2026-03-18
SUCCESS Duration: 249s

Subject

examples/websocket: fix to sleep more on Windows

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

docs/examples/websocket.c+1 -1
@@ -30,7 +30,7 @@
#ifdef _WIN32
#include <winsock2.h>
#include <windows.h>
-#define sleep(s) Sleep((DWORD)(s))
+#define sleep(s) Sleep((DWORD)(s * 1000))
#else
#include <unistd.h>
#endif