summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/cargstest.c4
-rw-r--r--test/copyrecttest.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/cargstest.c b/test/cargstest.c
index 2eadce7..263982d 100644
--- a/test/cargstest.c
+++ b/test/cargstest.c
@@ -13,9 +13,9 @@ int main(int argc,char** argv)
#define CHECK(a,b) if(screen->a!=b) { fprintf(stderr,#a " is %d (should be " #b ")\n",screen->a); ret=1; }
CHECK(width,1024);
CHECK(height,768);
- CHECK(rfbAlwaysShared,TRUE);
+ CHECK(alwaysShared,TRUE);
CHECK(httpPort,3002);
- CHECK(rfbDontDisconnect,TRUE);
+ CHECK(dontDisconnect,TRUE);
if(fake_argc!=2) {
fprintf(stderr,"fake_argc is %d (should be 2)\n",fake_argc);
ret=1;
diff --git a/test/copyrecttest.c b/test/copyrecttest.c
index ff278b4..da036bc 100644
--- a/test/copyrecttest.c
+++ b/test/copyrecttest.c
@@ -21,7 +21,7 @@ int main(int argc,char** argv)
rfbScreenInfoPtr server=rfbGetScreen(&argc,argv,width,height,8,3,4);
server->frameBuffer=(char*)malloc(width*height*4);
initBackground(server);
- server->rfbDeferUpdateTime=0;
+ server->deferUpdateTime=0;
rfbInitServer(server);
r=0;