git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced API functor with API function.
[stg.git]
/
projects
/
stargazer
/
admins_impl.cpp
diff --git
a/projects/stargazer/admins_impl.cpp
b/projects/stargazer/admins_impl.cpp
index a780fcb316b80c7145b09e73b1c91f0218378c19..7d73dde1834cde8481ddeee2fde6f3cc78d3de66 100644
(file)
--- 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(),
store(st),
WriteServLog(GetStgLogger()),
searchDescriptors(),
- handle(0)
+ handle(0),
+ mutex(),
+ strError()
{
pthread_mutex_init(&mutex, NULL);
Read();
{
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())
{
STG_LOCKER lock(&mutex, __FILE__, __LINE__);
if (data.empty())
{
- printfd(__FILE__, "
n
o admin in system!\n");
+ printfd(__FILE__, "
N
o admin in system!\n");
*admin = &noAdmin;
return false;
}
*admin = &noAdmin;
return false;
}