git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove const qualifier from sgauthstress implementation of USER
[stg.git]
/
projects
/
sgauth
/
main.cpp
diff --git
a/projects/sgauth/main.cpp
b/projects/sgauth/main.cpp
index c78f18edcc7e330ad52149e2690e50c9454bcce5..2af78b71f7667e7960d6db0ec4076e24574becd6 100644
(file)
--- a/
projects/sgauth/main.cpp
+++ b/
projects/sgauth/main.cpp
@@
-35,7
+35,7
@@
#include <iostream>
#include <vector>
#include <iostream>
#include <vector>
-#include "stg/ia
_auth_c
.h"
+#include "stg/ia.h"
#include "stg/common.h"
#include "web.h"
#include "settings_impl.h"
#include "stg/common.h"
#include "web.h"
#include "settings_impl.h"
@@
-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];