aboutsummaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/RFBGlue.cc
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-05-29 16:46:19 +0200
committerPierre Ossman <ossman@cendio.se>2018-05-29 16:50:55 +0200
commitfe2e5fca2135acec490dc7284cfbca86ebe2610b (patch)
tree44b890e6ce88f735c47740a4640b34ce687066ad /unix/xserver/hw/vnc/RFBGlue.cc
parentcb99be55d818a73be7dea51a2de4c5c16d0439a9 (diff)
parent39594b801dc041d40b1348bf2efcf6f64215cd60 (diff)
downloadtigervnc-fe2e5fca2135acec490dc7284cfbca86ebe2610b.tar.gz
tigervnc-fe2e5fca2135acec490dc7284cfbca86ebe2610b.zip
Merge branch 'unix' of https://github.com/CendioOssman/tigervnc
Diffstat (limited to 'unix/xserver/hw/vnc/RFBGlue.cc')
-rw-r--r--unix/xserver/hw/vnc/RFBGlue.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/xserver/hw/vnc/RFBGlue.cc b/unix/xserver/hw/vnc/RFBGlue.cc
index c9153364..160177bd 100644
--- a/unix/xserver/hw/vnc/RFBGlue.cc
+++ b/unix/xserver/hw/vnc/RFBGlue.cc
@@ -192,14 +192,14 @@ void vncListParams(int width, int nameWidth)
int vncGetSocketPort(int fd)
{
- return network::TcpSocket::getSockPort(fd);
+ return network::getSockPort(fd);
}
int vncIsTCPPortUsed(int port)
{
try {
// Attempt to create TCPListeners on that port.
- std::list<network::TcpListener*> dummy;
+ std::list<network::SocketListener*> dummy;
network::createTcpListeners (&dummy, 0, port);
while (!dummy.empty()) {
delete dummy.back();