From 91346b9fb7d8b6ec2c37ac796904a955a9caf89c Mon Sep 17 00:00:00 2001 From: "David M. Lee" Date: Tue, 24 Nov 2015 13:54:54 -0600 Subject: Fixed some typos Fixes some minor typos in the CHANGES file, plus an embarrasing typo in the StatsD API. Change-Id: I9ca4858c64a4a07d2643b81baa64baebb27a4eb7 --- res/res_pjsip/location.c | 2 +- res/res_pjsip/pjsip_options.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'res/res_pjsip') diff --git a/res/res_pjsip/location.c b/res/res_pjsip/location.c index 9cc7f1629..2e0d84b84 100644 --- a/res/res_pjsip/location.c +++ b/res/res_pjsip/location.c @@ -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; diff --git a/res/res_pjsip/pjsip_options.c b/res/res_pjsip/pjsip_options.c index c7579fdc1..d55a99587 100644 --- a/res/res_pjsip/pjsip_options.c +++ b/res/res_pjsip/pjsip_options.c @@ -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)); } -- cgit v1.2.3