summaryrefslogtreecommitdiffstats
path: root/source/cSocket.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cSocket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cSocket.h b/source/cSocket.h
index 44c3bea4b..395815389 100644
--- a/source/cSocket.h
+++ b/source/cSocket.h
@@ -55,9 +55,9 @@ public:
cSocket Accept();
int Receive( char* a_Buffer, unsigned int a_Length, unsigned int a_Flags );
- char* GetIPString() { return m_IPString; }
+ const AString & GetIPString(void) const { return m_IPString; }
private:
xSocket m_Socket;
- char* m_IPString;
+ AString m_IPString;
}; \ No newline at end of file