sms-part-cdma: fix assertion in cause codes parameter id
ERROR:../src/mm-sms-part-cdma.c:678:read_cause_codes: assertion failed: (parameter->parameter_id == PARAMETER_ID_BEARER_REPLY_OPTION)
This commit is contained in:
@@ -675,7 +675,7 @@ read_cause_codes (MMSmsPart *sms_part,
|
||||
guint8 cause_code;
|
||||
MMSmsDeliveryState delivery_state;
|
||||
|
||||
g_assert (parameter->parameter_id == PARAMETER_ID_BEARER_REPLY_OPTION);
|
||||
g_assert (parameter->parameter_id == PARAMETER_ID_CAUSE_CODES);
|
||||
|
||||
if (parameter->parameter_len != 1 && parameter->parameter_len != 2) {
|
||||
mm_obj_dbg (log_object, " invalid cause codes length found (%u): ignoring",
|
||||
|
Reference in New Issue
Block a user