cli: fix sync operations, initialize context

This commit is contained in:
Aleksander Morgado
2012-03-15 14:14:32 +01:00
parent 77ff2758b3
commit 92cb17be4d
+2
View File
@@ -584,6 +584,8 @@ mmcli_modem_run_synchronous (GDBusConnection *connection)
exit (EXIT_FAILURE);
}
/* Initialize context */
ctx = g_new0 (Context, 1);
ctx->modem = mmcli_get_modem_sync (connection, modem_str);
/* Request to get info from modem? */