Code cleanup
This commit is contained in:
parent
faf09d0fc5
commit
3439b855c1
@ -223,6 +223,7 @@ static gboolean _on_debug_closex(gpointer data)
|
|||||||
static void _on_debug_queue_execute(gpointer data)
|
static void _on_debug_queue_execute(gpointer data)
|
||||||
{
|
{
|
||||||
PhonePlugin * plugin = data;
|
PhonePlugin * plugin = data;
|
||||||
|
PhonePluginHelper * helper = plugin->helper;
|
||||||
Debug * debug = plugin->priv;
|
Debug * debug = plugin->priv;
|
||||||
gchar * text;
|
gchar * text;
|
||||||
size_t i;
|
size_t i;
|
||||||
@ -234,8 +235,7 @@ static void _on_debug_queue_execute(gpointer data)
|
|||||||
if(strcmp(_debug_gsm_commands[i].name, text) == 0)
|
if(strcmp(_debug_gsm_commands[i].name, text) == 0)
|
||||||
break;
|
break;
|
||||||
g_free(text);
|
g_free(text);
|
||||||
plugin->helper->trigger(plugin->helper->phone,
|
helper->trigger(helper->phone, _debug_gsm_commands[i].event);
|
||||||
_debug_gsm_commands[i].event);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user