From 0aa204d818e7fa9831d1a2259099c318ed971f6a Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Tue, 21 Oct 2014 17:44:20 +0200 Subject: Update comments regarding rfbClientConnectionGone(). --- libvncserver/sockets.c | 5 +++-- 1 file 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. * -- cgit v1.2.3