From 12872e3d4b942d10c4dc1ec9e099345b474ac874 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Mon, 1 Apr 2013 01:27:02 +0200 Subject: Change User::GetIPString() to return const std::string& --- include/users.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 */ -- cgit v1.2.3