summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-11-02 14:19:15 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-11-02 14:19:15 +0100
commitb43575fdf9c2f6b9f47dcb034343c0cb58e3df90 (patch)
tree08e897b62d54e3aeabe9082ece902bd365c9a0fe
parent9ec90d9a11f53c91274a1341217e7da5f8621674 (diff)
iface-modem-messaging: fix storage string when reporting errors
-rw-r--r--src/mm-iface-modem-messaging.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mm-iface-modem-messaging.c b/src/mm-iface-modem-messaging.c
index f7349681..0271d60d 100644
--- a/src/mm-iface-modem-messaging.c
+++ b/src/mm-iface-modem-messaging.c
@@ -752,8 +752,13 @@ load_initial_sms_parts_ready (MMIfaceModemMessaging *self,
752 752
753 MM_IFACE_MODEM_MESSAGING_GET_INTERFACE (self)->load_initial_sms_parts_finish (self, res, &error); 753 MM_IFACE_MODEM_MESSAGING_GET_INTERFACE (self)->load_initial_sms_parts_finish (self, res, &error);
754 if (error) { 754 if (error) {
755 StorageContext *storage_ctx;
756
757 storage_ctx = get_storage_context (ctx->self);
755 mm_dbg ("Couldn't load SMS parts from storage '%s': '%s'", 758 mm_dbg ("Couldn't load SMS parts from storage '%s': '%s'",
756 mm_sms_storage_get_string (ctx->mem1_storage_index), 759 mm_sms_storage_get_string (g_array_index (storage_ctx->supported_mem1,
760 MMSmsStorage,
761 ctx->mem1_storage_index)),
757 error->message); 762 error->message);
758 g_error_free (error); 763 g_error_free (error);
759 } 764 }