summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2014-10-21 17:44:20 +0200
committerChristian Beier <dontmind@freeshell.org>2014-10-21 17:44:20 +0200
commit0aa204d818e7fa9831d1a2259099c318ed971f6a (patch)
treeb76b9565af32ac09a3da6646d421f2a0424f83da
parent668d3e3785bef9ee9a887192ee37f043d0d3c2f4 (diff)
downloadlibvncserver-0aa204d818e7fa9831d1a2259099c318ed971f6a.zip
libvncserver-0aa204d818e7fa9831d1a2259099c318ed971f6a.tar.gz
Update comments regarding rfbClientConnectionGone().
-rw-r--r--libvncserver/sockets.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libvncserver/sockets.c b/libvncserver/sockets.c
index a7a829a..a9c5a2c 100644
--- a/libvncserver/sockets.c
+++ b/libvncserver/sockets.c
@@ -4,8 +4,9 @@
* This code should be independent of any changes in the RFB protocol. It just
* deals with the X server scheduling stuff, calling rfbNewClientConnection and
* rfbProcessClientMessage to actually deal with the protocol. If a socket
- * needs to be closed for any reason then rfbCloseClient should be called, and
- * this in turn will call rfbClientConnectionGone. To make an active
+ * needs to be closed for any reason then rfbCloseClient should be called. In turn,
+ * rfbClientConnectionGone will be called by rfbProcessEvents (non-threaded case)
+ * or clientInput (threaded case) in main.c. To make an active
* connection out, call rfbConnect - note that this does _not_ call
* rfbNewClientConnection.
*
OpenPOWER on IntegriCloud