diff options
author | dscho <dscho> | 2002-02-18 06:43:54 +0000 |
---|---|---|
committer | dscho <dscho> | 2002-02-18 06:43:54 +0000 |
commit | 45a4b4a2235adecc925182b27959db62b5954a26 (patch) | |
tree | de00aee4fd77b81f768d00416c9eda47d21e22b3 /example.c | |
parent | fbf2c977fe4c70fa2e551ecc0264c4b8184386f2 (diff) | |
download | libtdevnc-45a4b4a2235adecc925182b27959db62b5954a26.tar.gz libtdevnc-45a4b4a2235adecc925182b27959db62b5954a26.zip |
changes from Tim Jansen: threading issues, new client can be rejected, and more
Diffstat (limited to 'example.c')
-rw-r--r-- | example.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -67,10 +67,11 @@ void clientgone(rfbClientPtr cl) free(cl->clientData); } -void newclient(rfbClientPtr cl) +enum rfbNewClientAction newclient(rfbClientPtr cl) { cl->clientData = (void*)calloc(sizeof(ClientData),1); cl->clientGoneHook = clientgone; + return RFB_CLIENT_ACCEPT; } /* aux function to draw a line */ |