summaryrefslogtreecommitdiffstats
path: root/example.c
diff options
context:
space:
mode:
Diffstat (limited to 'example.c')
-rw-r--r--example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example.c b/example.c
index 4b3810e..a3cfba9 100644
--- a/example.c
+++ b/example.c
@@ -270,7 +270,7 @@ int main(int argc,char** argv)
#endif
/* this is the non-blocking event loop; a background thread is started */
- rfbRunEventLoop(rfbScreen,40000,TRUE);
+ rfbRunEventLoop(rfbScreen,-1,TRUE);
/* now we could do some cool things like rendering */
while(1) sleep(5); /* render(); */