aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/CConn.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2024-11-18 16:41:01 +0100
committerPierre Ossman <ossman@cendio.se>2024-11-18 16:41:01 +0100
commitaac8c7ae8b658ad679dc9898be32f0d03b609c7b (patch)
tree2623ff076ed505128e305aad8eaf7a748fea241d /vncviewer/CConn.h
parent1e8017afd09fb15cabe7e33489875d6d75a78f2c (diff)
downloadtigervnc-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.h2
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();