summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authordscho <dscho>2004-08-30 15:45:58 +0000
committerdscho <dscho>2004-08-30 15:45:58 +0000
commit97299606daab079cd88a096308487341c113ccec (patch)
treed8f51cfacae63482f330ce20c07dc373c341e893 /test
parent0d3b958b479e598b081b9848c34bb74aca9ee7fa (diff)
downloadlibtdevnc-97299606daab079cd88a096308487341c113ccec.tar.gz
libtdevnc-97299606daab079cd88a096308487341c113ccec.zip
global structures/functions should have "rfb", "sra" or "zrle" as prefix,
while structure members should not
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;