pjsip_options: Fix format specifier for int64_t rtt.

Contact status rtt is an int64_t and needs the PRId64 macro to
properly create the format specifier on 32-bit systems.

Change-Id: I4b8ab958fc1e9a179556a9b4ffa49673ba9fdec7
This commit is contained in:
George Joseph
2015-04-20 08:53:00 -06:00
parent b94d70f42b
commit 06ba1e59cb

View File

@@ -137,7 +137,7 @@ static void update_contact_status(const struct ast_sip_contact *contact,
ast_test_suite_event_notify("AOR_CONTACT_QUALIFY_RESULT",
"Contact: %s\r\n"
"Status: %s\r\n"
"RTT: %ld",
"RTT: %" PRId64,
ast_sorcery_object_get_id(update),
(update->status == AVAILABLE ? "Available" : "Unavailable"),
update->rtt);