Only register drive if enabled.
This commit is contained in:
parent
a41752aead
commit
c07d8dd950
@ -113,6 +113,8 @@ void guac_rdpdr_process_connect(rdpSvcPlugin* plugin) {
|
|||||||
if (client_data->settings.printing_enabled)
|
if (client_data->settings.printing_enabled)
|
||||||
guac_rdpdr_register_printer(rdpdr);
|
guac_rdpdr_register_printer(rdpdr);
|
||||||
|
|
||||||
|
/* Register drive if enabled */
|
||||||
|
if (client_data->settings.drive_enabled)
|
||||||
guac_rdpdr_register_fs(rdpdr);
|
guac_rdpdr_register_fs(rdpdr);
|
||||||
|
|
||||||
/* Log that printing, etc. has been loaded */
|
/* Log that printing, etc. has been loaded */
|
||||||
|
Loading…
Reference in New Issue
Block a user