summaryrefslogtreecommitdiffstats
path: root/test/encodingstest.c
diff options
context:
space:
mode:
authorrunge <runge>2004-12-17 03:55:35 +0000
committerrunge <runge>2004-12-17 03:55:35 +0000
commit3a84b0ccc87a023be3ac84fba82895fafade30c1 (patch)
tree054ec71b3ad716623433ed8b8e39da417afb71fe /test/encodingstest.c
parent7e13b8a594805e25e928b8bcac394eef0a1ee5c8 (diff)
downloadlibtdevnc-3a84b0ccc87a023be3ac84fba82895fafade30c1.tar.gz
libtdevnc-3a84b0ccc87a023be3ac84fba82895fafade30c1.zip
x11vnc: XFIXES cursorshape, XRANDR resize, remote control, gui
Diffstat (limited to 'test/encodingstest.c')
-rw-r--r--test/encodingstest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/encodingstest.c b/test/encodingstest.c
index 5c84caf..a5202f3 100644
--- a/test/encodingstest.c
+++ b/test/encodingstest.c
@@ -287,12 +287,13 @@ int main(int argc,char** argv)
{
int i,j;
time_t t;
+ rfbScreenInfoPtr server;
rfbClientLog=rfbTestLog;
rfbClientErr=rfbTestLog;
/* Initialize server */
- rfbScreenInfoPtr server=rfbGetScreen(&argc,argv,width,height,8,3,4);
+ server=rfbGetScreen(&argc,argv,width,height,8,3,4);
server->frameBuffer=malloc(400*300*4);
for(j=0;j<400*300*4;j++)