diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-09-24 14:14:04 +0900 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-09-24 14:14:04 +0900 |
commit | be1912fe9c30426dc138a6a7acec068e9151297e (patch) | |
tree | 5611f2de3e7487493495fd3265875ef4b972ba44 /plugins/mbm.c | |
parent | 7ab1258a76c50b45d8de9235ee1e72d1b495d73f (diff) | |
download | ofono-be1912fe9c30426dc138a6a7acec068e9151297e.tar.gz |
Make debug handling with OFONO_AT_DEBUG a bit more consistent
Diffstat (limited to 'plugins/mbm.c')
-rw-r--r-- | plugins/mbm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mbm.c b/plugins/mbm.c index a706a34c..41c96384 100644 --- a/plugins/mbm.c +++ b/plugins/mbm.c @@ -103,7 +103,7 @@ static void mbm_debug(const char *str, void *user_data) { const char *prefix = user_data; - ofono_info("%s %s", prefix, str); + ofono_info("%s%s", prefix, str); } static gboolean init_simpin_check(gpointer user_data); @@ -316,7 +316,7 @@ static int mbm_enable(struct ofono_modem *modem) return -EIO; if (getenv("OFONO_AT_DEBUG")) - g_at_chat_set_debug(data->modem_port, mbm_debug, "Modem:"); + g_at_chat_set_debug(data->modem_port, mbm_debug, "Modem: "); data->data_port = create_port(data_dev); @@ -328,7 +328,7 @@ static int mbm_enable(struct ofono_modem *modem) } if (getenv("OFONO_AT_DEBUG")) - g_at_chat_set_debug(data->data_port, mbm_debug, "Data:"); + g_at_chat_set_debug(data->data_port, mbm_debug, "Data: "); g_at_chat_register(data->modem_port, "*EMRDY:", emrdy_notifier, FALSE, modem, NULL); |