[mapguide-commits] r6554 - sandbox/adsk/2.3r/Server/src/Common/Manager

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Mar 21 01:51:36 EDT 2012


Author: hubu
Date: 2012-03-20 22:51:35 -0700 (Tue, 20 Mar 2012)
New Revision: 6554

Modified:
   sandbox/adsk/2.3r/Server/src/Common/Manager/Connection.h
   sandbox/adsk/2.3r/Server/src/Common/Manager/SessionInfo.h
Log:
Submit on behalf of Andy Zhang.
Fixed Ticket http://trac.osgeo.org/mapguide/ticket/1423

Modified: sandbox/adsk/2.3r/Server/src/Common/Manager/Connection.h
===================================================================
--- sandbox/adsk/2.3r/Server/src/Common/Manager/Connection.h	2012-03-19 08:04:24 UTC (rev 6553)
+++ sandbox/adsk/2.3r/Server/src/Common/Manager/Connection.h	2012-03-21 05:51:35 UTC (rev 6554)
@@ -129,22 +129,22 @@
 
 inline STRING MgConnection::GetClientAgent() const
 {
-    return m_clientAgent;
+    return (STRING)m_clientAgent.c_str();
 }
 
 inline STRING MgConnection::GetClientIp() const
 {
-    return m_clientIp;
+    return (STRING)m_clientIp.c_str();
 }
 
 inline STRING MgConnection::GetUserName() const
 {
-    return m_userName;
+    return (STRING)m_userName.c_str();
 }
 
 inline STRING MgConnection::GetSessionId() const
 {
-    return m_sessionId;
+    return (STRING)m_sessionId.c_str();
 }
 
 inline const ACE_Time_Value& MgConnection::GetStartTime() const

Modified: sandbox/adsk/2.3r/Server/src/Common/Manager/SessionInfo.h
===================================================================
--- sandbox/adsk/2.3r/Server/src/Common/Manager/SessionInfo.h	2012-03-19 08:04:24 UTC (rev 6553)
+++ sandbox/adsk/2.3r/Server/src/Common/Manager/SessionInfo.h	2012-03-21 05:51:35 UTC (rev 6554)
@@ -77,17 +77,17 @@
 
 inline STRING MgSessionInfo::GetUser() const
 {
-    return m_user;
+    return (STRING)m_user.c_str();
 }
 
 inline STRING MgSessionInfo::GetClient() const
 {
-    return m_client;
+    return (STRING)m_client.c_str();
 }
 
 inline STRING MgSessionInfo::GetClientIp() const
 {
-    return m_clientIp;
+    return (STRING)m_clientIp.c_str();
 }
 
 inline const MgDateTime& MgSessionInfo::GetStartTime() const



More information about the mapguide-commits mailing list