GUACAMOLE-1122: Correct scope of settings variable for RDP user file handler."
This commit is contained in:
parent
c10ceab7e8
commit
d35a97d28e
@ -127,9 +127,9 @@ int guac_rdp_user_file_handler(guac_user* user, guac_stream* stream,
|
|||||||
char* mimetype, char* filename) {
|
char* mimetype, char* filename) {
|
||||||
|
|
||||||
guac_rdp_client* rdp_client = (guac_rdp_client*) user->client->data;
|
guac_rdp_client* rdp_client = (guac_rdp_client*) user->client->data;
|
||||||
|
guac_rdp_settings* settings = rdp_client->settings;
|
||||||
|
|
||||||
#ifdef ENABLE_COMMON_SSH
|
#ifdef ENABLE_COMMON_SSH
|
||||||
guac_rdp_settings* settings = rdp_client->settings;
|
|
||||||
|
|
||||||
/* If SFTP is enabled and SFTP uploads have not been disabled, it should be
|
/* If SFTP is enabled and SFTP uploads have not been disabled, it should be
|
||||||
* used for default uploads only if RDPDR is not enabled or its upload
|
* used for default uploads only if RDPDR is not enabled or its upload
|
||||||
|
Loading…
Reference in New Issue
Block a user