summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-04-01 01:27:02 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-01 01:27:02 +0200
commit12872e3d4b942d10c4dc1ec9e099345b474ac874 (patch)
tree74445ff4ed0a28e61c9523d8de9039bd5e9107e1 /include
parentd1a88f0957aeef918af4cea5dcf87892df755130 (diff)
Change User::GetIPString() to return const std::string&
Diffstat (limited to 'include')
-rw-r--r--include/users.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/users.h b/include/users.h
index 88abfbcd1..c79bf7cb8 100644
--- a/include/users.h
+++ b/include/users.h
@@ -384,7 +384,7 @@ class CoreExport User : public Extensible
/** Get client IP string from sockaddr, using static internal buffer
* @return The IP string
*/
- const char* GetIPString();
+ const std::string& GetIPString();
/** Get CIDR mask, using default range, for this user
*/