summaryrefslogtreecommitdiff
path: root/res/res_pjsip
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@respoke.io>2015-11-24 13:54:54 -0600
committerDavid M. Lee <dlee@digium.com>2015-11-24 13:57:05 -0600
commit91346b9fb7d8b6ec2c37ac796904a955a9caf89c (patch)
treebf932e6c4d838baee44c0d53444ffa2412514aeb /res/res_pjsip
parent7fa13cec7862ef8b5d1a0ce8791b03eb4b0ab3ef (diff)
Fixed some typos
Fixes some minor typos in the CHANGES file, plus an embarrasing typo in the StatsD API. Change-Id: I9ca4858c64a4a07d2643b81baa64baebb27a4eb7
Diffstat (limited to 'res/res_pjsip')
-rw-r--r--res/res_pjsip/location.c2
-rw-r--r--res/res_pjsip/pjsip_options.c6
2 files changed, 4 insertions, 4 deletions
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));
}