From 834f3af1dc4dfb2b436f9ba1490ec7a0fecf41d0 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 26 Mar 2010 19:41:06 -0700 Subject: Fix some comments in dialer example --- gatchat/gsmdial.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gatchat/gsmdial.c') diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c index 3b878abf..84a2fa51 100644 --- a/gatchat/gsmdial.c +++ b/gatchat/gsmdial.c @@ -331,7 +331,7 @@ static void setup_context(int status) state = STATE_ACTIVATING; g_print("Registered to GPRS network, roaming=%s\n", - status == 5 ? "True" : "False"); + status == 5 ? "true" : "false"); len = sprintf(buf, "AT+CGDCONT=%u,\"IP\"", option_cid); snprintf(buf + len, sizeof(buf) - len - 3, ",\"%s\"", option_apn); @@ -384,9 +384,9 @@ static void attached_cb(gboolean ok, GAtResult *result, gpointer user_data) static void activate_gprs(int status) { g_print("Registered to network, roaming=%s\n", - status == 5 ? "True" : "False"); + status == 5 ? "true" : "false"); - g_print("Activating gprs network...\n"); + g_print("Activating GPRS network...\n"); g_at_chat_send(control, "AT+CGATT=1", none_prefix, attached_cb, NULL, NULL); } -- cgit v1.2.3