From 9d4f480335cfa3980c360754125805551f5e0d12 Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Wed, 9 Oct 2019 19:31:45 -0400 Subject: [PATCH] [mod_sofia] Fix some incorrect word contractions. --- src/mod/endpoints/mod_sofia/sofia_glue.c | 2 +- src/mod/endpoints/mod_sofia/sofia_reg.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 2d1a60243f..dc6442f70d 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -852,7 +852,7 @@ char *sofia_overcome_sip_uri_weakness(switch_core_session_t *session, const char stripped = sofia_glue_get_url_from_contact(stripped, 0); - /* remove our params so we don't make any whiny moronic device piss it's pants and forget who it is for a half-hour */ + /* remove our params so we don't make any whiny moronic device piss its pants and forget who it is for a half-hour */ if ((p = (char *) switch_stristr(";fs_", stripped))) { *p = '\0'; } diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index c523af78ae..43d0eeb353 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -2929,7 +2929,7 @@ auth_res_t sofia_reg_parse_auth(sofia_profile_t *profile, if (switch_xml_locate_user_merged("id", zstr(username) ? "nobody" : username, domain_name, ip, &user, params) != SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't find user [%s@%s] from %s\n" "You must define a domain called '%s' in your directory and add a user with the id=\"%s\" attribute\n" - "and you must configure your device to use the proper domain in it's authentication credentials.\n", username, domain_name, + "and you must configure your device to use the proper domain in its authentication credentials.\n", username, domain_name, ip, domain_name, username); ret = AUTH_FORBIDDEN; @@ -2937,7 +2937,7 @@ auth_res_t sofia_reg_parse_auth(sofia_profile_t *profile, } else { const char *type = switch_xml_attr(user, "type"); if (type && !strcasecmp(type, "pointer")) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Cant register a pointer.\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't register a pointer.\n"); ret = AUTH_FORBIDDEN; goto end; }