X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8141c8c568b83be890c8d8d3953e976ad0ad8ad1..ae21e8d6ad32d0bf3517127aef5cd8129b7507aa:/projects/stargazer/admins_impl.cpp diff --git a/projects/stargazer/admins_impl.cpp b/projects/stargazer/admins_impl.cpp index a780fcb3..7d73dde1 100644 --- a/projects/stargazer/admins_impl.cpp +++ b/projects/stargazer/admins_impl.cpp @@ -47,7 +47,9 @@ ADMINS_IMPL::ADMINS_IMPL(STORE * st) store(st), WriteServLog(GetStgLogger()), searchDescriptors(), - handle(0) + handle(0), + mutex(), + strError() { pthread_mutex_init(&mutex, NULL); Read(); @@ -217,7 +219,7 @@ assert(admin != NULL && "Pointer to admin is not null"); STG_LOCKER lock(&mutex, __FILE__, __LINE__); if (data.empty()) { - printfd(__FILE__, "no admin in system!\n"); + printfd(__FILE__, "No admin in system!\n"); *admin = &noAdmin; return false; }