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/pnmshow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/pnmshow.c') diff --git a/examples/pnmshow.c b/examples/pnmshow.c index e41ad4e..b8481f8 100644 --- a/examples/pnmshow.c +++ b/examples/pnmshow.c @@ -36,7 +36,7 @@ int main(int argc,char** argv) /* get width & height */ sscanf(buffer,"%d %d",&width,&height); - fprintf(stderr,"Got width %d and height %d.\n",width,height); + rfbLog("Got width %d and height %d.\n",width,height); fgets(buffer,1024,in); /* vncviewers have problems with widths which are no multiple of 4. */ -- cgit v1.2.3