]> git.stg.codes - stg.git/blobdiff - projects/sgauth/main.cpp
Custom .gitignore for tests added
[stg.git] / projects / sgauth / main.cpp
index 96c58203ec78c5d5463cae2a52eada20232ef723..2af78b71f7667e7960d6db0ec4076e24574becd6 100644 (file)
@@ -239,7 +239,8 @@ clnp->Connect();
 
 while (1)
     {
-    usleep(200000);
+    struct timespec ts = {0, 200000000};
+    nanosleep(&ts, NULL);
 
     char state[20];