git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use "connected" subscription for detecting connection and disconnection.
[stg.git]
/
projects
/
stargazer
/
plugins
/
other
/
ping
/
ping.cpp
diff --git
a/projects/stargazer/plugins/other/ping/ping.cpp
b/projects/stargazer/plugins/other/ping/ping.cpp
index 00bb362d98151a56b7354cca9dd7922ae03ec2c1..7f47b7cf8464906ee754cc9c3977ca054ca100a8 100644
(file)
--- a/
projects/stargazer/plugins/other/ping/ping.cpp
+++ b/
projects/stargazer/plugins/other/ping/ping.cpp
@@
-108,6
+108,7
@@
pinger.Start();
if (pthread_create(&thread, NULL, Run, this))
{
errorStr = "Cannot start thread.";
if (pthread_create(&thread, NULL, Run, this))
{
errorStr = "Cannot start thread.";
+ logger("Cannot create thread.");
printfd(__FILE__, "Cannot start thread\n");
return -1;
}
printfd(__FILE__, "Cannot start thread\n");
return -1;
}