git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add corporations.h, services.h and plugin_creator.h to install
[stg.git]
/
projects
/
sgauth
/
main.cpp
diff --git
a/projects/sgauth/main.cpp
b/projects/sgauth/main.cpp
index 96c58203ec78c5d5463cae2a52eada20232ef723..2af78b71f7667e7960d6db0ec4076e24574becd6 100644
(file)
--- a/
projects/sgauth/main.cpp
+++ b/
projects/sgauth/main.cpp
@@
-239,7
+239,8
@@
clnp->Connect();
while (1)
{
while (1)
{
- usleep(200000);
+ struct timespec ts = {0, 200000000};
+ nanosleep(&ts, NULL);
char state[20];
char state[20];