diff options
author | dscho <dscho> | 2003-07-28 12:01:07 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-07-28 12:01:07 +0000 |
commit | 13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b (patch) | |
tree | 8ca17b27e8b953403b93625381aa162d734c4287 /main.c | |
parent | eef408c1d84c7aaceb9732dd9a7e216886d2c2f8 (diff) | |
download | libtdevnc-13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b.tar.gz libtdevnc-13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b.zip |
fixed maxRectsPerUpdate with Tight encoding bug; some autoconfing; stderr should not be used in a library (use rfbLog instead)
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -548,7 +548,7 @@ rfbScreenInfoPtr rfbGetScreen(int* argc,char** argv, INIT_MUTEX(logMutex); if(width&3) - fprintf(stderr,"WARNING: Width (%d) is not a multiple of 4. VncViewer has problems with that.\n",width); + rfbLog("WARNING: Width (%d) is not a multiple of 4. VncViewer has problems with that.\n",width); rfbScreen->autoPort=FALSE; rfbScreen->rfbClientHead=0; @@ -816,7 +816,7 @@ void rfbRunEventLoop(rfbScreenInfoPtr rfbScreen, long usec, Bool runInBackground pthread_create(&listener_thread, NULL, listenerRun, rfbScreen); return; #else - fprintf(stderr,"Can't run in background, because I don't have PThreads!\n"); + rfbLog("Can't run in background, because I don't have PThreads!\n"); exit(-1); #endif } |