]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_sofia] Fix some incorrect word contractions. 48/head
authorChris Rienzo <chris@signalwire.com>
Wed, 9 Oct 2019 23:31:45 +0000 (19:31 -0400)
committerChris Rienzo <chris@signalwire.com>
Thu, 10 Oct 2019 13:41:53 +0000 (09:41 -0400)
src/mod/endpoints/mod_sofia/sofia_glue.c
src/mod/endpoints/mod_sofia/sofia_reg.c

index 2d1a60243fec98f8b8f9154b555ed093a0281cb0..dc6442f70d2eb65640897efea9508c5eb57e74be 100644 (file)
@@ -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';
        }
index c523af78ae65c72dde6a5fd5d6c670ea96ab5bf6..43d0eeb353f8b501794d816b6d2429758def6d10 100644 (file)
@@ -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;
                }