summaryrefslogtreecommitdiffstats
path: root/gatchat/gsmdial.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-03-26 19:41:06 -0700
committerMarcel Holtmann <marcel@holtmann.org>2010-03-26 19:41:06 -0700
commit834f3af1dc4dfb2b436f9ba1490ec7a0fecf41d0 (patch)
tree69da3a8f84db19e6bbc61ec2b2704e0ac0130b9b /gatchat/gsmdial.c
parentfb043af6788930d7257a406c64db475b41f38081 (diff)
downloadofono-834f3af1dc4dfb2b436f9ba1490ec7a0fecf41d0.tar.bz2
Fix some comments in dialer example
Diffstat (limited to 'gatchat/gsmdial.c')
-rw-r--r--gatchat/gsmdial.c6
1 files changed, 3 insertions, 3 deletions
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);
}