diff options
author | Pierre Ossman <ossman@cendio.se> | 2024-11-18 16:41:01 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2024-11-18 16:41:01 +0100 |
commit | aac8c7ae8b658ad679dc9898be32f0d03b609c7b (patch) | |
tree | 2623ff076ed505128e305aad8eaf7a748fea241d /vncviewer/CConn.h | |
parent | 1e8017afd09fb15cabe7e33489875d6d75a78f2c (diff) | |
download | tigervnc-aac8c7ae8b658ad679dc9898be32f0d03b609c7b.tar.gz tigervnc-aac8c7ae8b658ad679dc9898be32f0d03b609c7b.zip |
Use std::string for connection info
Avoid truncation problems with the fixed size buffers.
Diffstat (limited to 'vncviewer/CConn.h')
-rw-r--r-- | vncviewer/CConn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vncviewer/CConn.h b/vncviewer/CConn.h index 1e71be94..a7b9afda 100644 --- a/vncviewer/CConn.h +++ b/vncviewer/CConn.h @@ -36,7 +36,7 @@ public: CConn(const char* vncServerName, network::Socket* sock); ~CConn(); - const char *connectionInfo(); + std::string connectionInfo(); unsigned getUpdateCount(); unsigned getPixelCount(); |