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

@@ -61,7 +61,7 @@ static GOptionEntry entries[] = {
NULL,
},
{ "hangup", 0, 0, G_OPTION_ARG_NONE, &hangup_flag,
"Hangup the call",
"Hang up the call",
NULL,
},
{ "send-dtmf", 0, 0, G_OPTION_ARG_STRING, &dtmf_request,
@@ -173,7 +173,7 @@ start_process_reply (gboolean result,
exit (EXIT_FAILURE);
}
g_print ("successfully start the call\n");
g_print ("successfully started the call\n");
}
static void
@@ -222,12 +222,12 @@ hangup_process_reply (gboolean result,
const GError *error)
{
if (!result) {
g_printerr ("error: couldn't hangup the call: '%s'\n",
g_printerr ("error: couldn't hang up the call: '%s'\n",
error ? error->message : "unknown error");
exit (EXIT_FAILURE);
}
g_print ("successfully hungup'd the call\n");
g_print ("successfully hung up the call\n");
}
static void
@@ -249,7 +249,7 @@ send_dtmf_process_reply (gboolean result,
const GError *error)
{
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");
exit (EXIT_FAILURE);
}
@@ -359,7 +359,7 @@ mmcli_call_run_synchronous (GDBusConnection *connection)
/* Setup operation timeout: 2 minutes */
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) {
g_debug ("Printing call info...");
print_call_info (ctx->call);