summaryrefslogtreecommitdiffstats
path: root/common/rfb/ZRLEEncoder.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-06-18 15:59:00 +0200
committerPierre Ossman <ossman@cendio.se>2018-11-01 16:11:42 +0100
commit0d3ce87f11c7bbafe071a966e78a2921819d2d58 (patch)
treeec4613a3bc3579a9c1e15f9a30adfaf90e0f0705 /common/rfb/ZRLEEncoder.cxx
parentb14a6bc1aacc3238a1e318d9f165d25674f34d45 (diff)
downloadtigervnc-0d3ce87f11c7bbafe071a966e78a2921819d2d58.tar.gz
tigervnc-0d3ce87f11c7bbafe071a966e78a2921819d2d58.zip
Rename ConnParams to ClientParams
Now that we've split out server state to ServerParams, ConnParams only contains state for a client. Rename the class and variables to reflect this.
Diffstat (limited to 'common/rfb/ZRLEEncoder.cxx')
-rw-r--r--common/rfb/ZRLEEncoder.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/rfb/ZRLEEncoder.cxx b/common/rfb/ZRLEEncoder.cxx
index 8917d8ff..92fd13d1 100644
--- a/common/rfb/ZRLEEncoder.cxx
+++ b/common/rfb/ZRLEEncoder.cxx
@@ -19,7 +19,6 @@
#include <rdr/OutStream.h>
#include <rfb/Exception.h>
#include <rfb/encodings.h>
-#include <rfb/ConnParams.h>
#include <rfb/Palette.h>
#include <rfb/SConnection.h>
#include <rfb/ZRLEEncoder.h>
@@ -43,7 +42,7 @@ ZRLEEncoder::~ZRLEEncoder()
bool ZRLEEncoder::isSupported()
{
- return conn->cp.supportsEncoding(encodingZRLE);
+ return conn->client.supportsEncoding(encodingZRLE);
}
void ZRLEEncoder::writeRect(const PixelBuffer* pb, const Palette& palette)