Handle OFONO_HISTORY_SMS_STATUS_SUBMIT_CANCELLED case too.
---
 plugins/history-agent.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/plugins/history-agent.c b/plugins/history-agent.c
index 6979195..040df13 100644
--- a/plugins/history-agent.c
+++ b/plugins/history-agent.c
@@ -639,6 +639,9 @@ static void history_sms_send_status(struct 
ofono_history_context *context,
        case OFONO_HISTORY_SMS_STATUS_SUBMIT_FAILED:
                status_str = "submit-failed";
                break;
+       case OFONO_HISTORY_SMS_STATUS_SUBMIT_CANCELLED:
+               status_str = "submit-cancelled";
+               break;
        case OFONO_HISTORY_SMS_STATUS_DELIVERED:
                status_str = "delivered";
                break;
-- 
1.7.5.4

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to