diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2021-05-19 22:22:12 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2021-05-19 22:22:12 +0300 |
commit | b646238b87708fbdf09a2c61303f241d4f595bbb (patch) | |
tree | 06bbf8a8092365add21b50d9a4ba42468d9aa5cc | |
parent | bae5bad7bb564601002a179ef7623dc09d253a14 (diff) |
Amend FreeRDP version check for FreeRDP_GatewayHttpUseWebsockets
-rw-r--r-- | plugins/rdp/rdp_plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/rdp/rdp_plugin.c b/plugins/rdp/rdp_plugin.c index ab8bd276d..cadb36557 100644 --- a/plugins/rdp/rdp_plugin.c +++ b/plugins/rdp/rdp_plugin.c @@ -1441,7 +1441,7 @@ static gboolean remmina_rdp_main(RemminaProtocolWidget *gp) s = remmina_plugin_service->file_get_string(remminafile, "gateway_server"); if (s) { cs = remmina_plugin_service->file_get_string(remminafile, "gwtransp"); -#if FREERDP_CHECK_VERSION(2, 3, 0) +#if FREERDP_CHECK_VERSION(2, 3, 1) if (remmina_plugin_service->file_get_int(remminafile, "websockets", FALSE)) freerdp_settings_set_bool(rfi->settings, FreeRDP_GatewayHttpUseWebsockets, TRUE); else @@ -2604,8 +2604,6 @@ static const RemminaProtocolSetting remmina_rdp_advanced_settings[] = { REMMINA_PROTOCOL_SETTING_TYPE_SELECT, "quality", N_("Quality"), FALSE, quality_list, NULL }, { REMMINA_PROTOCOL_SETTING_TYPE_SELECT, "security", N_("Security protocol negotiation"), FALSE, security_list, NULL }, { REMMINA_PROTOCOL_SETTING_TYPE_SELECT, "gwtransp", N_("Gateway transport type"), FALSE, gwtransp_list, NULL }, -#if FREERDP_CHECK_VERSION(2, 3, 0) -#endif { REMMINA_PROTOCOL_SETTING_TYPE_SELECT, "freerdp_log_level", N_("FreeRDP log level"), FALSE, log_level, NULL }, { REMMINA_PROTOCOL_SETTING_TYPE_TEXT, "freerdp_log_filters", N_("FreeRDP log filters"), FALSE, NULL, N_("tag:level[,tag:level[,…]]") }, { REMMINA_PROTOCOL_SETTING_TYPE_SELECT, "sound", N_("Audio output mode"), FALSE, sound_list, NULL }, @@ -2652,7 +2650,9 @@ static const RemminaProtocolSetting remmina_rdp_advanced_settings[] = { REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "glyph-cache", N_("Glyph cache"), TRUE, NULL, NULL }, { REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "multitransport", N_("Enable multitransport protocol (UDP)"), TRUE, NULL, N_("Using the UDP protocol may improve performance") }, { REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "base-cred-for-gw", N_("Use base credentials for gateway too"), TRUE, NULL, NULL }, +#if FREERDP_CHECK_VERSION(2, 3, 1) { REMMINA_PROTOCOL_SETTING_TYPE_CHECK, "websockets", N_("Enable Gateway websockets support"), TRUE, NULL, NULL }, +#endif { REMMINA_PROTOCOL_SETTING_TYPE_END, NULL, NULL, FALSE, NULL, NULL } }; |