diff options
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/users.h b/include/users.h index 743ea6c8a..0b9599548 100644 --- a/include/users.h +++ b/include/users.h @@ -282,10 +282,14 @@ class userrec : public connection */ int GetProtocolFamily(); - /** Get IP string from sockaddr + /** Get IP string from sockaddr, using static internal buffer */ const char* GetIPString(); + /** Get IP string from sockaddr, using caller-specified buffer + */ + const char* GetIPString(char* buf); + /* Write error string */ std::string WriteError; |