]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/ping/ping.cpp
Better logging for ipq_cap.
[stg.git] / projects / stargazer / plugins / other / ping / ping.cpp
index 00bb362d98151a56b7354cca9dd7922ae03ec2c1..7f47b7cf8464906ee754cc9c3977ca054ca100a8 100644 (file)
@@ -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;
     }