1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-04 15:41:19 +00:00

provider/sip: on_origin_pw_looked_up() display_name is read twice

This commit is contained in:
Дилян Палаузов 2022-11-20 12:51:23 +00:00 committed by Evangelos Ribeiro Tzaras
parent a830b45d2f
commit dee7e1b9ae

View file

@ -144,7 +144,6 @@ on_origin_pw_looked_up (GObject *source,
display_name = g_key_file_get_string (data->key_file, data->name, "DisplayName", NULL); display_name = g_key_file_get_string (data->key_file, data->name, "DisplayName", NULL);
protocol = g_key_file_get_string (data->key_file, data->name, "Protocol", NULL); protocol = g_key_file_get_string (data->key_file, data->name, "Protocol", NULL);
port = g_key_file_get_integer (data->key_file, data->name, "Port", NULL); port = g_key_file_get_integer (data->key_file, data->name, "Port", NULL);
display_name = g_key_file_get_string (data->key_file, data->name, "DisplayName", NULL);
local_port = g_key_file_get_integer (data->key_file, data->name, "LocalPort", NULL); local_port = g_key_file_get_integer (data->key_file, data->name, "LocalPort", NULL);
if (g_key_file_has_key (data->key_file, data->name, "AutoConnect", NULL)) if (g_key_file_has_key (data->key_file, data->name, "AutoConnect", NULL))