mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
message_storage.c: fix previous commit, remove debug code
This commit is contained in:
parent
a722c76515
commit
bce114c25a
1 changed files with 0 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue