GUACAMOLE-257: Merge sftp file upload handler fix.
This commit is contained in:
commit
aba2b46a7c
@ -87,6 +87,7 @@ int guac_ssh_user_join_handler(guac_user* user, int argc, char** argv) {
|
||||
user->size_handler = guac_ssh_user_size_handler;
|
||||
|
||||
/* Set generic (non-filesystem) file upload handler */
|
||||
if (settings->enable_sftp)
|
||||
user->file_handler = guac_sftp_file_handler;
|
||||
|
||||
}
|
||||
|
@ -98,6 +98,7 @@ int guac_vnc_user_join_handler(guac_user* user, int argc, char** argv) {
|
||||
|
||||
#ifdef ENABLE_COMMON_SSH
|
||||
/* Set generic (non-filesystem) file upload handler */
|
||||
if (settings->enable_sftp)
|
||||
user->file_handler = guac_vnc_sftp_file_handler;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user