fix compilation when no libz is available

pull/1/head
dscho 18 years ago
parent cef6224e1c
commit 4ff783f579
  1. 2
      test/encodingstest.c

@ -150,8 +150,10 @@ static void update(rfbClient* client,int x,int y,int w,int h) {
return;
}
#ifdef LIBVNCSERVER_HAVE_LIBZ
if(testEncodings[cd->encodingIndex].id==rfbEncodingTight)
maxDelta=5;
#endif
updateStatistics(cd->encodingIndex,
!doFramebuffersMatch(cd->server,client,maxDelta));

Loading…
Cancel
Save