X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/704483df2dab0f376b996e04d5c971e99151f439..89a688a2876a7922dc2824769b91cab8bba00c4b:/stglibs/pinger.lib/pinger.cpp diff --git a/stglibs/pinger.lib/pinger.cpp b/stglibs/pinger.lib/pinger.cpp index 68137d7c..f3686806 100644 --- a/stglibs/pinger.lib/pinger.cpp +++ b/stglibs/pinger.lib/pinger.cpp @@ -16,7 +16,7 @@ #include "pinger.h" #include "stg/common.h" -#include "stg/stg_locker.h" +#include "stg/locker.h" #ifdef STG_TIME extern volatile time_t stgTime; @@ -30,7 +30,15 @@ STG_PINGER::STG_PINGER(time_t d) isRunningSender(false), sendSocket(-1), recvSocket(-1), - pid(0) + sendThread(), + recvThread(), + pmSend(), + pid(0), + errorStr(), + pingIP(), + ipToAdd(), + ipToDel(), + mutex() { pthread_mutex_init(&mutex, NULL); memset(&pmSend, 0, sizeof(pmSend));