Unverified Commit 49b58c9e authored by Antenore Gatta's avatar Antenore Gatta Committed by GitHub

Merge pull request #1572 from FreeRDP/issue_1570

periodic_usage_stats_uuid_prefix default value, closes #1570 
parents 3bf3036f f7d002e7
......@@ -821,7 +821,8 @@ void remmina_pref_save(void)
g_key_file_set_boolean(gkeyfile, "usage_stats", "periodic_usage_stats_permission_asked", remmina_pref.periodic_usage_stats_permission_asked);
g_key_file_set_boolean(gkeyfile, "usage_stats", "periodic_usage_stats_permitted", remmina_pref.periodic_usage_stats_permitted);
g_key_file_set_int64(gkeyfile, "usage_stats", "periodic_usage_stats_last_sent", remmina_pref.periodic_usage_stats_last_sent);
g_key_file_set_string(gkeyfile, "usage_stats", "periodic_usage_stats_uuid_prefix", remmina_pref.periodic_usage_stats_uuid_prefix);
g_key_file_set_string(gkeyfile, "usage_stats", "periodic_usage_stats_uuid_prefix",
remmina_pref.periodic_usage_stats_uuid_prefix ? remmina_pref.periodic_usage_stats_uuid_prefix : "");
content = g_key_file_to_data(gkeyfile, &length, NULL);
g_file_set_contents(remmina_pref_file, content, length, NULL);
......
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