diff --git a/src/message.c b/src/message.c index eb85adff..668a693b 100644 --- a/src/message.c +++ b/src/message.c @@ -46,6 +46,8 @@ static const char *message_state_to_string(enum message_state s) return "sent"; case MESSAGE_STATE_FAILED: return "failed"; + case MESSAGE_STATE_CANCELLED: + return "cancelled"; } return NULL; diff --git a/src/message.h b/src/message.h index 14e66c30..ad30798a 100644 --- a/src/message.h +++ b/src/message.h @@ -24,7 +24,8 @@ enum message_state { MESSAGE_STATE_PENDING, MESSAGE_STATE_SENT, - MESSAGE_STATE_FAILED + MESSAGE_STATE_FAILED, + MESSAGE_STATE_CANCELLED, }; struct ofono_atom;