aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/VNCServerST.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-10-08 15:59:02 +0200
committerPierre Ossman <ossman@cendio.se>2018-10-10 13:15:30 +0200
commit7d64b33b5b96a20216a2e1425ff412e027bbebcd (patch)
treee015b5ac35991b3bc4009a57ccb0b9fd5939a63b /common/rfb/VNCServerST.cxx
parent07e44cc508133d874767204d2f96407b0b713bb5 (diff)
downloadtigervnc-7d64b33b5b96a20216a2e1425ff412e027bbebcd.tar.gz
tigervnc-7d64b33b5b96a20216a2e1425ff412e027bbebcd.zip
Move access rights and closing to SConnection object
This makes it generally useful and other code doesn't have to know of the specific sub-class.
Diffstat (limited to 'common/rfb/VNCServerST.cxx')
-rw-r--r--common/rfb/VNCServerST.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/VNCServerST.cxx b/common/rfb/VNCServerST.cxx
index 31ac5d1c..5e166119 100644
--- a/common/rfb/VNCServerST.cxx
+++ b/common/rfb/VNCServerST.cxx
@@ -583,7 +583,7 @@ void VNCServerST::getSockets(std::list<network::Socket*>* sockets)
}
}
-SConnection* VNCServerST::getSConnection(network::Socket* sock) {
+SConnection* VNCServerST::getConnection(network::Socket* sock) {
std::list<VNCSConnectionST*>::iterator ci;
for (ci = clients.begin(); ci != clients.end(); ci++) {
if ((*ci)->getSock() == sock)