aboutsummaryrefslogtreecommitdiff
path: root/src/mm-error-helpers.c
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2017-08-02 21:53:32 -0700
committerAleksander Morgado <aleksander@aleksander.es>2017-08-03 12:19:37 +0200
commit0bb01ab68d36e63d08f9ed827524a24829c26835 (patch)
treee8602d4bbfa6541f50eed373038ef6961ab71884 /src/mm-error-helpers.c
parent6132a4d2ae92e99746f6840bb7330c56c0d8fcbf (diff)
sms-part-cdma: add missing break statements in cause_code_to_delivery_state
This patch fixes cause_code_to_delivery_state() by adding two missing break statements for the case ERROR_CLASS_TEMPORARY and ERROR_CLASS_PERMANENT in the `switch (error_class)` statement. Without the break statements, the switch always falls through to the default and returns MM_SMS_DELIVERY_STATE_UNKNOWN for an `error_class' of value ERROR_CLASS_TEMPORARY or ERROR_CLASS_PERMANENT.
Diffstat (limited to 'src/mm-error-helpers.c')
0 files changed, 0 insertions, 0 deletions