mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 03:48:02 +00:00
Fixed some typos
Fixes some minor typos in the CHANGES file, plus an embarrasing typo in the StatsD API. Change-Id: I9ca4858c64a4a07d2643b81baa64baebb27a4eb7
This commit is contained in:
committed by
David M. Lee
parent
7fa13cec78
commit
91346b9fb7
@@ -1015,7 +1015,7 @@ int ast_sip_initialize_sorcery_location(void)
|
||||
* object before PJSIP options handling is initialized.
|
||||
*/
|
||||
for (i = 0; i < REMOVED; i++) {
|
||||
ast_statsd_log_full_va("PJSIP.contacts.states.%s", AST_STATSD_GUAGE, 0, 1.0, ast_sip_get_contact_status_label(i));
|
||||
ast_statsd_log_full_va("PJSIP.contacts.states.%s", AST_STATSD_GAUGE, 0, 1.0, ast_sip_get_contact_status_label(i));
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -114,7 +114,7 @@ struct ast_sip_contact_status *ast_res_pjsip_find_or_create_contact_status(const
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ast_statsd_log_string_va("PJSIP.contacts.states.%s", AST_STATSD_GUAGE,
|
||||
ast_statsd_log_string_va("PJSIP.contacts.states.%s", AST_STATSD_GAUGE,
|
||||
"+1", 1.0, ast_sip_get_contact_status_label(status->status));
|
||||
|
||||
return status;
|
||||
@@ -148,9 +148,9 @@ static void update_contact_status(const struct ast_sip_contact *contact,
|
||||
update->last_status = status->status;
|
||||
update->status = value;
|
||||
if (update->last_status != update->status) {
|
||||
ast_statsd_log_string_va("PJSIP.contacts.states.%s", AST_STATSD_GUAGE,
|
||||
ast_statsd_log_string_va("PJSIP.contacts.states.%s", AST_STATSD_GAUGE,
|
||||
"-1", 1.0, ast_sip_get_contact_status_label(update->last_status));
|
||||
ast_statsd_log_string_va("PJSIP.contacts.states.%s", AST_STATSD_GUAGE,
|
||||
ast_statsd_log_string_va("PJSIP.contacts.states.%s", AST_STATSD_GAUGE,
|
||||
"+1", 1.0, ast_sip_get_contact_status_label(update->status));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user