X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=rdpsrv.c;h=f5bea8a23d0998b7857205c3d5c44d1bbdbf119a;hb=1b88121b3e37f01bd226aa54f65f413f5d1fe49e;hp=91989872cf530955bd5cd274a21f858e9d09818a;hpb=f0e31781e50a45d6de4220ae14143d775f2ae43b;p=rdpsrv diff --git a/rdpsrv.c b/rdpsrv.c index 9198987..f5bea8a 100644 --- a/rdpsrv.c +++ b/rdpsrv.c @@ -320,10 +320,11 @@ void handle_vnc_fbupdate(int vnc_sock) } } +int listen_on_vnc = 0; + int serve_client() { int vnc_sock = vnc_init(); - int listen_on_vnc = 0; if (!mcs_recv_connect_initial()) error("MCS_CONNECT_INITIAL recv failed");