From c01140c8517a53e9d9a32a91255f2a9c06943ef2 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Fri, 4 Feb 2011 17:40:32 -0200 Subject: [PATCH] examples: handle cancelled history status --- examples/history.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/history.c b/examples/history.c index 0a1e8d7e..21668ec6 100644 --- a/examples/history.c +++ b/examples/history.c @@ -172,6 +172,11 @@ static void example_history_sms_send_status( ofono_debug("Sending SMS %s failed", ofono_uuid_to_str(uuid)); ofono_debug("Failure Time: %s", buf); break; + case OFONO_HISTORY_SMS_STATUS_SUBMIT_CANCELLED: + ofono_debug("Submission of SMS %s was canceled", + ofono_uuid_to_str(uuid)); + ofono_debug("Cancel time: %s", buf); + break; case OFONO_HISTORY_SMS_STATUS_DELIVERED: ofono_debug("SMS delivered, msg_id: %s, time: %s", ofono_uuid_to_str(uuid), buf);