Skip to content
Snippets Groups Projects
Commit eed62d3a authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #9089: gnome: fix g_strcasecmp0 warning

parent a919eaa0
Branches
Tags
No related merge requests found
...@@ -815,7 +815,8 @@ static int place_registered_call(callable_obj_t * c) ...@@ -815,7 +815,8 @@ static int place_registered_call(callable_obj_t * c)
return -1; return -1;
} }
if (g_strcasecmp(g_hash_table_lookup(current->properties, "Status"), "REGISTERED") ==0) { gpointer status = g_hash_table_lookup(current->properties, "Status");
if (status && g_strcasecmp(status, "REGISTERED") == 0) {
/* The call is made with the current account */ /* The call is made with the current account */
// free memory for previous account id and get a new one // free memory for previous account id and get a new one
g_free(c->_accountID); g_free(c->_accountID);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment