More fixes (seems I'm too tired...).

This commit is contained in:
lotodore
2009-10-13 22:03:41 +00:00
parent 1809a6ba74
commit 3b245ee87b
+1 -3
View File
@@ -79,7 +79,6 @@ SessionData::GetAsioSocket()
bool bool
SessionData::CreateServerAuthSession(Gsasl *context) SessionData::CreateServerAuthSession(Gsasl *context)
{ {
bool retVal = false;
boost::mutex::scoped_lock lock(m_dataMutex); boost::mutex::scoped_lock lock(m_dataMutex);
InternalClearAuthSession(); InternalClearAuthSession();
int errorCode; int errorCode;
@@ -136,9 +135,8 @@ SessionData::AuthGetUser()
{ {
string retStr; string retStr;
if (m_authSession) if (m_authSession)
{
retStr = gsasl_property_fast(m_authSession, GSASL_AUTHID); retStr = gsasl_property_fast(m_authSession, GSASL_AUTHID);
} return retStr;
} }
void void