summaryrefslogtreecommitdiff
path: root/src/network/core/address.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/core/address.h')
-rw-r--r--src/network/core/address.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/address.h b/src/network/core/address.h
index 46d0acef1..af10a2756 100644
--- a/src/network/core/address.h
+++ b/src/network/core/address.h
@@ -88,7 +88,7 @@ public:
this->SetPort(port);
}
- const char *GetHostname();
+ const std::string &GetHostname();
std::string GetAddressAsString(bool with_family = true);
const sockaddr_storage *GetAddress();