diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-02-08 11:54:03 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-02-08 11:54:03 -0600 |
commit | 87ca1b0c8f4c5b441eb3209b2b0c867870596882 (patch) | |
tree | 1a0a79a975bd19f41768558b93af91c5e326d896 /src/cbs.c | |
parent | c02dc9c68b47f93793ec9699069d0a77bcac3e12 (diff) | |
download | ofono-87ca1b0c8f4c5b441eb3209b2b0c867870596882.tar.bz2 |
Fix: Don't use ofono_debug directly in the core
Use DBG macro which is integrated with the new debug framework.
Diffstat (limited to 'src/cbs.c')
-rw-r--r-- | src/cbs.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -331,7 +331,7 @@ static void cbs_set_topics_cb(const struct ofono_error *error, void *data) g_slist_free(cbs->new_topics); cbs->new_topics = NULL; - ofono_debug("Setting Cell Broadcast topics failed"); + DBG("Setting Cell Broadcast topics failed"); __ofono_dbus_pending_reply(&cbs->pending, __ofono_error_failed(cbs->pending)); return; @@ -770,7 +770,7 @@ static void sim_cbmi_read_cb(int ok, int length, int record, return; str = cbs_topic_ranges_to_string(cbs->efcbmi_contents); - ofono_debug("Got cbmi: %s", str); + DBG("Got cbmi: %s", str); g_free(str); } @@ -817,7 +817,7 @@ static void sim_cbmir_read_cb(int ok, int length, int record, return; str = cbs_topic_ranges_to_string(cbs->efcbmir_contents); - ofono_debug("Got cbmir: %s", str); + DBG("Got cbmir: %s", str); g_free(str); } @@ -860,7 +860,7 @@ static void sim_cbmid_read_cb(int ok, int length, int record, cbs->efcbmid_contents = g_slist_reverse(contents); str = cbs_topic_ranges_to_string(cbs->efcbmid_contents); - ofono_debug("Got cbmid: %s", str); + DBG("Got cbmid: %s", str); g_free(str); done: @@ -872,7 +872,7 @@ static void cbs_got_imsi(struct ofono_cbs *cbs) const char *imsi = ofono_sim_get_imsi(cbs->sim); char *topics_str; - ofono_debug("Got IMSI: %s", imsi); + DBG("Got IMSI: %s", imsi); cbs->settings = storage_open(imsi, SETTINGS_STORE); if (cbs->settings == NULL) |