Commit 7e82138c authored by Giovanni Panozzo's avatar Giovanni Panozzo

Fix bad chars appearing in mpchange search fields

parent 4f1aeb6b
......@@ -629,6 +629,7 @@ void remmina_main_on_action_application_mpchange(GtkAction *action, gpointer use
username = domain = group = "";
remminafile = NULL;
if (remminamain->priv->selected_filename)
{
remminafile = remmina_file_load(remminamain->priv->selected_filename);
......@@ -637,11 +638,13 @@ void remmina_main_on_action_application_mpchange(GtkAction *action, gpointer use
username = remmina_file_get_string(remminafile, "username");
domain = remmina_file_get_string(remminafile, "domain");
group = remmina_file_get_string(remminafile, "group");
remmina_file_free(remminafile);
}
}
remmina_mpchange_schedule(TRUE, group, domain, username, "");
if (remminafile != NULL)
remmina_file_free(remminafile);
}
......
......@@ -428,7 +428,7 @@ remmina_mpchange_schedule(gboolean has_domain, const gchar *group, const gchar *
TRACE_CALL("remmina_mpchange_schedule");
struct mpchanger_params *mpcp;
mpcp = g_malloc0(sizeof(struct mpchanger_params));
mpcp->username = g_strdup(username);
mpcp->password = g_strdup(password);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment