summaryrefslogtreecommitdiffstats
path: root/examples/pnmshow.c
diff options
context:
space:
mode:
authordscho <dscho>2003-07-28 12:01:07 +0000
committerdscho <dscho>2003-07-28 12:01:07 +0000
commit13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b (patch)
tree8ca17b27e8b953403b93625381aa162d734c4287 /examples/pnmshow.c
parenteef408c1d84c7aaceb9732dd9a7e216886d2c2f8 (diff)
downloadlibvncserver-13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b.zip
libvncserver-13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b.tar.gz
fixed maxRectsPerUpdate with Tight encoding bug; some autoconfing; stderr should not be used in a library (use rfbLog instead)
Diffstat (limited to 'examples/pnmshow.c')
-rw-r--r--examples/pnmshow.c2
1 files changed, 1 insertions, 1 deletions
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. */
OpenPOWER on IntegriCloud