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
d90dc113
Commit
d90dc113
authored
Oct 15, 2014
by
Simon Morlat
Browse files
fix format specifiers
parent
3c955d16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
coreapi/message_storage.c
coreapi/message_storage.c
+2
-2
tester/call_tester.c
tester/call_tester.c
+3
-1
No files found.
coreapi/message_storage.c
View file @
d90dc113
...
...
@@ -237,7 +237,7 @@ unsigned int linphone_chat_message_store(LinphoneChatMessage *msg){
msg
->
is_read
,
msg
->
state
,
msg
->
external_body_url
,
msg
->
time
,
(
int64_t
)
msg
->
time
,
msg
->
appdata
,
content_id
);
...
...
@@ -489,7 +489,7 @@ static void linphone_migrate_timestamps(sqlite3* db){
uint64_t
end
;
linphone_sql_request
(
db
,
"COMMIT"
);
end
=
ortp_get_cur_time_ms
();
ms_message
(
"Migrated message timestamps to UTC in %l
ld
ms"
,(
end
-
begin
));
ms_message
(
"Migrated message timestamps to UTC in %l
u
ms"
,(
unsigned
long
)(
end
-
begin
));
}
}
...
...
tester/call_tester.c
View file @
d90dc113
...
...
@@ -3152,12 +3152,14 @@ static void call_log_from_taken_from_p_asserted_id(void) {
LinphoneCallParams
*
params
;
const
char
*
paulie_asserted_id
=
"
\"
Paupauche
\"
<sip:pauline@super.net>"
;
LinphoneAddress
*
paulie_asserted_id_addr
=
linphone_address_new
(
paulie_asserted_id
);
LpConfig
*
marie_lp
;
params
=
linphone_core_create_default_call_parameters
(
pauline
->
lc
);
linphone_call_params_add_custom_header
(
params
,
"P-Asserted-Identity"
,
paulie_asserted_id
);
/*fixme, should be able to add several time the same header linphone_call_params_add_custom_header(params,"P-Asserted-Identity","\"Paupauche\" <tel:+12345>");*/
LpConfig
*
marie_lp
=
linphone_core_get_config
(
marie
->
lc
);
marie_lp
=
linphone_core_get_config
(
marie
->
lc
);
lp_config_set_int
(
marie_lp
,
"sip"
,
"call_logs_use_asserted_id_instead_of_from"
,
1
);
...
...
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