Only register drive if enabled.

This commit is contained in:
Michael Jumper 2013-10-17 10:45:53 -07:00
parent a41752aead
commit c07d8dd950

View File

@ -113,6 +113,8 @@ void guac_rdpdr_process_connect(rdpSvcPlugin* plugin) {
if (client_data->settings.printing_enabled)
guac_rdpdr_register_printer(rdpdr);
/* Register drive if enabled */
if (client_data->settings.drive_enabled)
guac_rdpdr_register_fs(rdpdr);
/* Log that printing, etc. has been loaded */