X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8141c8c568b83be890c8d8d3953e976ad0ad8ad1..d414065410fdc3d317933944e783efa7aeee80b2:/projects/stargazer/admins_impl.cpp?ds=inline 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; }