Re: [PATCH] iface-modem-messaging: fix invalid assert



On Thu, 2013-02-14 at 13:09 -0800, Thieu Le wrote:
BUG=chromium-os:38830
TEST=Send SMS to device

Fixed that last week actually:

18436a8f77306bf3d5379881bcbd066018014858

Dan

Change-Id: Ia7fd9bbf46722e11f87b2588efff6d1091ff7b72
---
 src/mm-iface-modem-messaging.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mm-iface-modem-messaging.c b/src/mm-iface-modem-messaging.c
index 0271d60..143d7ef 100644
--- a/src/mm-iface-modem-messaging.c
+++ b/src/mm-iface-modem-messaging.c
@@ -91,7 +91,7 @@ mm_iface_modem_messaging_bind_simple_status (MMIfaceModemMessaging *self,
 MMSms *
 mm_iface_modem_messaging_create_sms (MMIfaceModemMessaging *self)
 {
-    g_assert (MM_IFACE_MODEM_MESSAGING (self)->create_sms != NULL);
+    g_assert (MM_IFACE_MODEM_MESSAGING_GET_INTERFACE (self)->create_sms != NULL);
 
     return MM_IFACE_MODEM_MESSAGING_GET_INTERFACE (self)->create_sms (self);
 }




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]