From 3b245ee87b1b17adba8a01b56d3658928dc4c1df Mon Sep 17 00:00:00 2001 From: lotodore Date: Tue, 13 Oct 2009 22:03:41 +0000 Subject: [PATCH] More fixes (seems I'm too tired...). --- src/net/common/sessiondata.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/net/common/sessiondata.cpp b/src/net/common/sessiondata.cpp index 97b9cb8c..a059958c 100644 --- a/src/net/common/sessiondata.cpp +++ b/src/net/common/sessiondata.cpp @@ -79,7 +79,6 @@ SessionData::GetAsioSocket() bool SessionData::CreateServerAuthSession(Gsasl *context) { - bool retVal = false; boost::mutex::scoped_lock lock(m_dataMutex); InternalClearAuthSession(); int errorCode; @@ -136,9 +135,8 @@ SessionData::AuthGetUser() { string retStr; if (m_authSession) - { retStr = gsasl_property_fast(m_authSession, GSASL_AUTHID); - } + return retStr; } void