Improve source_info commenting and fix neutrino slow link

This commit is contained in:
Matt Burt
2020-08-07 11:48:22 +01:00
committed by matt335672
parent 176b4b15a2
commit 1f8bb57fd6
11 changed files with 112 additions and 35 deletions
+1 -3
View File
@@ -1905,7 +1905,6 @@ lib_mod_connect(struct vnc *v)
int error;
int i;
int check_sec_result;
struct source_info *si;
v->server_msg(v, "VNC started connecting", 0);
check_sec_result = 1;
@@ -1955,8 +1954,7 @@ lib_mod_connect(struct vnc *v)
g_sprintf(text, "VNC connecting to %s %s", v->ip, con_port);
v->server_msg(v, text, 0);
si = (struct source_info *) (v->si);
v->trans->si = si;
v->trans->si = v->si;
v->trans->my_source = XRDP_SOURCE_MOD;
error = trans_connect(v->trans, v->ip, con_port, 3000);
+3 -1
View File
@@ -56,6 +56,8 @@ enum vnc_resize_status
VRS_DONE
};
struct source_info;
struct vnc
{
int size; /* size of this struct */
@@ -124,7 +126,7 @@ struct vnc
tintptr handle; /* pointer to self as long */
tintptr wm;
tintptr painter;
tintptr si;
struct source_info *si;
/* mod data */
int server_width;
int server_height;