summaryrefslogtreecommitdiff
path: root/src/sessionManager.hpp
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-04-04 11:53:03 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-04-07 16:32:07 +0800
commit4c904905f5f0667786d4c4b32d150b3d4328cfc2 (patch)
treea397604070be947ea051f0db3555c34e604686df /src/sessionManager.hpp
parent48c6f2384592c42a0fdbb6e420c77f6e10209f24 (diff)
session: use std::string for m_ip instead of c char
Diffstat (limited to 'src/sessionManager.hpp')
-rw-r--r--src/sessionManager.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sessionManager.hpp b/src/sessionManager.hpp
index 9739918..8e02a7d 100644
--- a/src/sessionManager.hpp
+++ b/src/sessionManager.hpp
@@ -24,7 +24,7 @@ class CSessionManager {
void shutdownSessions();
CSession *getByName(const std::string &name) const;
- CSession *getByIp(const char m_ip[INET_ADDRSTRLEN]) const;
+ CSession *getByIp(const std::string &ip) const;
std::vector<std::shared_ptr<CSession>> getSessions() const;
private: