summaryrefslogtreecommitdiffstats
path: root/rfbserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'rfbserver.c')
-rw-r--r--rfbserver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rfbserver.c b/rfbserver.c
index ecbc4e6..ec725e9 100644
--- a/rfbserver.c
+++ b/rfbserver.c
@@ -258,7 +258,9 @@ rfbNewTCPOrUDPClient(rfbScreen,sock,isUDP)
cl->preferredEncoding = rfbEncodingRaw;
cl->correMaxWidth = 48;
cl->correMaxHeight = 48;
+#ifdef HAVE_ZRLE
cl->zrleData = 0;
+#endif
cl->copyRegion = sraRgnCreate();
cl->copyDX = 0;