Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
bce114c2
Commit
bce114c2
authored
Sep 02, 2015
by
Gautier Pelloux-Prayer
Browse files
message_storage.c: fix previous commit, remove debug code
parent
a722c765
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
coreapi/message_storage.c
coreapi/message_storage.c
+0
-6
No files found.
coreapi/message_storage.c
View file @
bce114c2
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment