From 3312e8be0bc8336aecf6feffc4cdae9b1cc6904a Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Wed, 15 Jul 2015 14:38:48 +0200 Subject: [PATCH] callbacks.c: use state string not state id in text_delivery_update --- coreapi/callbacks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/callbacks.c b/coreapi/callbacks.c index d80ab4e81..ecd931a59 100644 --- a/coreapi/callbacks.c +++ b/coreapi/callbacks.c @@ -1267,7 +1267,7 @@ static void text_delivery_update(SalOp *op, SalTextDeliveryStatus status){ linphone_chat_message_update_state(chat_msg); if (chat_msg && (chat_msg->cb || (chat_msg->callbacks && linphone_chat_message_cbs_get_msg_state_changed(chat_msg->callbacks)))) { - ms_message("Notifying text delivery with status %i",chat_msg->state); + ms_message("Notifying text delivery with status %s",linphone_chat_message_state_to_string(chat_msg->state)); if (chat_msg->callbacks && linphone_chat_message_cbs_get_msg_state_changed(chat_msg->callbacks)) { linphone_chat_message_cbs_get_msg_state_changed(chat_msg->callbacks)(chat_msg, chat_msg->state); } else {