mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 00:59:20 +00:00
fix format specifiers
This commit is contained in:
parent
3c955d1680
commit
d90dc113b2
2 changed files with 5 additions and 3 deletions
|
|
@ -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 %lld ms",(end-begin));
|
||||
ms_message("Migrated message timestamps to UTC in %lu ms",(unsigned long)(end-begin));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue