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
changes/61/161/1
George Joseph 10 years ago
parent 27a122af66
commit b74b2cdcda

@ -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);

Loading…
Cancel
Save