Commit eed62d3a authored by Tristan Matthews's avatar Tristan Matthews

* #9089: gnome: fix g_strcasecmp0 warning

parent a919eaa0
......@@ -815,7 +815,8 @@ static int place_registered_call(callable_obj_t * c)
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 */
// free memory for previous account id and get a new one
g_free(c->_accountID);
......
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