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

gitlab.com/Remmina/remmina-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2020-05-21 01:42:33 +0300
committerAntenore Gatta <antenore@simbiosi.org>2020-05-21 01:42:33 +0300
commit366ac5c4a67dfd68642b4220e332de23de509e99 (patch)
tree3428df9b55cf42acd3ed78982c4ec7276ea395b0
parent26a0a080bf3159416ceea48e48a5dbff2d7fdb9a (diff)
Refactoring remmina_debug to avoid memory leaks and overhead, should fix #2202
Signed-off-by: Antenore Gatta <antenore@simbiosi.org>
-rw-r--r--nx_plugin.c2
-rw-r--r--nx_session_manager.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/nx_plugin.c b/nx_plugin.c
index b959307..025bb15 100644
--- a/nx_plugin.c
+++ b/nx_plugin.c
@@ -331,7 +331,7 @@ static gboolean remmina_plugin_nx_start_session(RemminaProtocolWidget *gp)
remmina_nx_session_set_encryption(nx,
remmina_plugin_nx_service->file_get_int(remminafile, "disableencryption", FALSE) ? 0 : 1);
remmina_nx_session_set_localport(nx, remmina_plugin_nx_service->pref_get_sshtunnel_port());
- remmina_nx_session_set_log_callback(nx, remmina_plugin_nx_service->debug);
+ remmina_nx_session_set_log_callback(nx, remmina_plugin_nx_service->_debug);
s2 = remmina_plugin_nx_service->protocol_plugin_start_direct_tunnel(gp, 22, FALSE);
if (s2 == NULL) {
diff --git a/nx_session_manager.c b/nx_session_manager.c
index d3a808e..14cb4fb 100644
--- a/nx_session_manager.c
+++ b/nx_session_manager.c
@@ -113,7 +113,7 @@ void remmina_nx_session_manager_on_row_activated(GtkTreeView *tree, GtkTreePath
{
TRACE_CALL(__func__);
RemminaPluginNxData *gpdata = GET_PLUGIN_DATA(gp);
- remmina_plugin_nx_service->debug("Default response_id %d",
+ remmina_plugin_nx_service->_debug("Default response_id %d",
gpdata->default_response);
if (gpdata->default_response >= 0) {