TransactionLog::~TransactionLog()
{
- delete m_lock;
}
Lockable* TransactionLog::lock()
}
if (t == 0)
return false;
-#ifndef HAVE_GMTIME_R
+#ifndef HAVE_LOCALTIME_R
struct tm* ptime=localtime(&t);
#else
struct tm res;
}
if (t == 0)
return false;
-#ifndef HAVE_GMTIME_R
+#ifndef HAVE_LOCALTIME_R
struct tm* ptime=localtime(&t);
#else
struct tm res;
}
if (t == 0)
return false;
-#ifndef HAVE_GMTIME_R
+#ifndef HAVE_LOCALTIME_R
struct tm* ptime=localtime(&t);
#else
struct tm res;
}
const LogoutEvent* logout = dynamic_cast<const LogoutEvent*>(&e);
- if (logout && logout->m_session) {
+ if (logout && logout->m_session && logout->m_session->getEntityID()) {
os << logout->m_session->getEntityID();
return true;
}