summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-02-04 17:40:32 -0200
committerDenis Kenzior <denkenz@gmail.com>2011-03-18 18:31:14 -0500
commitc01140c8517a53e9d9a32a91255f2a9c06943ef2 (patch)
tree56c3a5f4f120293a9637806412c20d848df735c0 /examples
parentd67c73d4922785f608fc72dbc561530aa95760ff (diff)
downloadofono-c01140c8517a53e9d9a32a91255f2a9c06943ef2.tar.bz2
examples: handle cancelled history status
Diffstat (limited to 'examples')
-rw-r--r--examples/history.c5
1 files changed, 5 insertions, 0 deletions
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);