]> git.sesse.net Git - rdpsrv/blobdiff - rdpsrv.c
Separated the RDP5 sending into its own protocol layer.
[rdpsrv] / rdpsrv.c
index 91989872cf530955bd5cd274a21f858e9d09818a..f5bea8a23d0998b7857205c3d5c44d1bbdbf119a 100644 (file)
--- 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");