diff options
author | dscho <dscho> | 2001-11-18 21:58:58 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-11-18 21:58:58 +0000 |
commit | e0168dbd9ae5e598f6564aa811cdb252330524c1 (patch) | |
tree | 31e899f132a91910c7a0090803a225bc6e9cfbfb /main.c | |
parent | 4415df9540afd86671f9169c1542536c71000180 (diff) | |
download | libtdevnc-e0168dbd9ae5e598f6564aa811cdb252330524c1.tar.gz libtdevnc-e0168dbd9ae5e598f6564aa811cdb252330524c1.zip |
start x11vnc, an x0rfbserver clone
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -34,6 +34,8 @@ MUTEX(logMutex); +char rfbEndianTest = (_BYTE_ORDER == _LITTLE_ENDIAN); + /* * rfbLog prints a time-stamped message to the log file (stderr). */ @@ -580,6 +582,9 @@ rfbProcessEvents(rfbScreenInfoPtr rfbScreen,long usec) rfbClientPtr cl,clPrev; struct timeval tv; + if(usec<0) + usec=rfbScreen->rfbDeferUpdateTime*1000; + rfbCheckFds(rfbScreen,usec); httpCheckFds(rfbScreen); #ifdef CORBA |