From bce114c25a1f76e900c9e5adb7c4fde496a62fd6 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Wed, 2 Sep 2015 09:36:31 +0200 Subject: [PATCH] message_storage.c: fix previous commit, remove debug code --- coreapi/message_storage.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/coreapi/message_storage.c b/coreapi/message_storage.c index 4443e1c68..c1128a79f 100644 --- a/coreapi/message_storage.c +++ b/coreapi/message_storage.c @@ -122,9 +122,6 @@ static int create_chat_message(void *data, int argc, char **argv, char **colName LinphoneChatRoom *cr = (LinphoneChatRoom *)data; LinphoneAddress *from; LinphoneAddress *to; - uint64_t begin, end; - begin=ortp_get_cur_time_ms(); - unsigned int storage_id = atoi(argv[0]); // check if the message exists in the transient list, in which case we should return that one. @@ -164,9 +161,6 @@ static int create_chat_message(void *data, int argc, char **argv, char **colName } cr->messages_hist=ms_list_prepend(cr->messages_hist,new_message); - end=ortp_get_cur_time_ms(); - ms_message("\t%s(): completed in %i ms",__FUNCTION__, (int)(end-begin)); - return 0; }