mmcli,call: minor alignment and message fixes

This commit is contained in:
Aleksander Morgado
2015-08-02 10:45:17 +02:00
parent f6779d60fe
commit c55fcab3b3

View File

@@ -173,7 +173,7 @@ start_process_reply (gboolean result,
exit (EXIT_FAILURE); exit (EXIT_FAILURE);
} }
g_print ("successfully start the call\n"); g_print ("successfully started the call\n");
} }
static void static void
@@ -227,7 +227,7 @@ hangup_process_reply (gboolean result,
exit (EXIT_FAILURE); exit (EXIT_FAILURE);
} }
g_print ("successfully hungup'd the call\n"); g_print ("successfully hung up the call\n");
} }
static void static void
@@ -249,7 +249,7 @@ send_dtmf_process_reply (gboolean result,
const GError *error) const GError *error)
{ {
if (!result) { if (!result) {
g_printerr ("error: couldn't send_dtmf to call: '%s'\n", g_printerr ("error: couldn't send dtmf to call: '%s'\n",
error ? error->message : "unknown error"); error ? error->message : "unknown error");
exit (EXIT_FAILURE); exit (EXIT_FAILURE);
} }
@@ -359,7 +359,7 @@ mmcli_call_run_synchronous (GDBusConnection *connection)
/* Setup operation timeout: 2 minutes */ /* Setup operation timeout: 2 minutes */
g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (ctx->call), 2 * 60 * 1000); g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (ctx->call), 2 * 60 * 1000);
/* Request to get info from CALL? */ /* Request to get info from call? */
if (info_flag) { if (info_flag) {
g_debug ("Printing call info..."); g_debug ("Printing call info...");
print_call_info (ctx->call); print_call_info (ctx->call);