Improve source_info commenting and fix neutrino slow link
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user