Commit d90dc113 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix format specifiers

parent 3c955d16
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment