Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiovanni Panozzo <giovanni@panozzo.it>2016-02-29 00:15:50 +0300
committerGiovanni Panozzo <giovanni@panozzo.it>2016-02-29 00:15:50 +0300
commit9d3397581e1af7af63650d25e2a4bc8bb748dd04 (patch)
tree634ff58fc60403fd050b91a2efec1d099f8e90d0
parent7b6338b4c197d47f4b57881b4c1a2f0ba999e9e6 (diff)
RDP api fix
-rw-r--r--remmina-plugins/rdp/rdp_plugin.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/remmina-plugins/rdp/rdp_plugin.c b/remmina-plugins/rdp/rdp_plugin.c
index d4d363df4..74be648cf 100644
--- a/remmina-plugins/rdp/rdp_plugin.c
+++ b/remmina-plugins/rdp/rdp_plugin.c
@@ -724,26 +724,6 @@ int remmina_rdp_load_static_channel_addin(rdpChannels* channels, rdpSettings* se
return -1;
}
-
-int remmina_rdp_add_static_channel(rdpSettings* settings, int count, char** params)
-{
- TRACE_CALL("remmina_rdp_add_static_channel");
- int index;
- ADDIN_ARGV* args;
-
- args = (ADDIN_ARGV*) malloc(sizeof(ADDIN_ARGV));
-
- args->argc = count;
- args->argv = (char**) malloc(sizeof(char*) * args->argc);
-
- for (index = 0; index < args->argc; index++)
- args->argv[index] = _strdup(params[index]);
-
- freerdp_static_channel_collection_add(settings, args);
-
- return 0;
-}
-
/* Send CTRL+ALT+DEL keys keystrokes to the plugin drawing_area widget */
static void remmina_rdp_send_ctrlaltdel(RemminaProtocolWidget *gp)
{
@@ -996,7 +976,7 @@ static gboolean remmina_rdp_main(RemminaProtocolWidget* gp)
}
}
- remmina_rdp_add_static_channel(rfi->settings, rdpsnd_nparams, (char**) rdpsnd_params);
+ freerdp_client_add_static_channel(rfi->settings, rdpsnd_nparams, (char**) rdpsnd_params);
}