From 13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b Mon Sep 17 00:00:00 2001 From: dscho Date: Mon, 28 Jul 2003 12:01:07 +0000 Subject: fixed maxRectsPerUpdate with Tight encoding bug; some autoconfing; stderr should not be used in a library (use rfbLog instead) --- examples/mac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/mac.c') diff --git a/examples/mac.c b/examples/mac.c index 6b50174..009ae08 100644 --- a/examples/mac.c +++ b/examples/mac.c @@ -493,7 +493,7 @@ refreshCallback(CGRectCount count, const CGRect *rectArray, void *ignore) rfbClientPtr cl; int i; for(i=0,cl=rfbScreen->rfbClientHead;cl;cl=cl->next,i++) - fprintf(stderr,"%02d: %s\n",i,cl->host); + rfbLog("%02d: %s\n",i,cl->host); } else if(message[0]=='t') { rfbClientPtr cl; for(cl=rfbScreen->rfbClientHead;cl;cl=cl->next) @@ -556,7 +556,7 @@ int main(int argc,char *argv[]) send_message(&single_instance,message); exit(0); } else if(!strcmp(argv[i],"-listclients")) { - fprintf(stderr,"list clients\n"); + rfbLog("list clients\n"); send_message(&single_instance,"l"); exit(0); } else -- cgit v1.1