diff options
Diffstat (limited to 'plugins/rdp')
-rw-r--r-- | plugins/rdp/rdp_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/rdp/rdp_plugin.c b/plugins/rdp/rdp_plugin.c index b700e9eae..5c2a36114 100644 --- a/plugins/rdp/rdp_plugin.c +++ b/plugins/rdp/rdp_plugin.c @@ -1841,7 +1841,7 @@ static gboolean remmina_rdp_main(RemminaProtocolWidget *gp) p = remmina_rdp_CommandLineParseCommaSeparatedValuesEx("rdpsnd", g_strdup(cs), &count); status = freerdp_client_add_static_channel(rfi->settings, count, p); - if (status == 0) + if (status) status = freerdp_client_add_dynamic_channel(rfi->settings, count, p); g_free(p); } |