Skip to content

Commit

Permalink
ims_registrar_scscf: fix typos
Browse files Browse the repository at this point in the history
Thanks, lintian
> I: kamailio-ims-modules: spelling-error-in-binary usr/lib/x86_64-linux-gnu/kamailio/modules/ims_registrar_scscf.so unsuccesful unsuccessful
> I: kamailio-ims-modules: spelling-error-in-binary usr/lib/x86_64-linux-gnu/kamailio/modules/ims_registrar_scscf.so explit explicit
> I: kamailio-ims-modules: spelling-error-in-binary usr/lib/x86_64-linux-gnu/kamailio/modules/ims_registrar_scscf.so pres press
> I: kamailio-ims-modules: spelling-error-in-binary usr/lib/x86_64-linux-gnu/kamailio/modules/ims_registrar_scscf.so ceate create
> I: kamailio-ims-modules: spelling-error-in-binary usr/lib/x86_64-linux-gnu/kamailio/modules/ims_registrar_scscf.so implicity implicitly
  • Loading branch information
linuxmaniac committed Feb 7, 2018
1 parent 5085912 commit 2444e02
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/modules/ims_registrar_scscf/registrar_notify.c
Expand Up @@ -340,7 +340,7 @@ int can_subscribe_to_reg(struct sip_msg *msg, char *_t, char *str2) {
} else {
presentity_uri = ul.get_presentity_from_subscriber_dialog(&callid, &ttag, &ftag);
if (presentity_uri.len == 0) {
LM_ERR("Unable to get pres uri from subscriber dialog with callid <%.*s>, ttag <%.*s> and ftag <%.*s>\n", callid.len, callid.s, ttag.len, ttag.s, ftag.len, ftag.s);
LM_ERR("Unable to get presentity uri from subscriber dialog with callid <%.*s>, ttag <%.*s> and ftag <%.*s>\n", callid.len, callid.s, ttag.len, ttag.s, ftag.len, ftag.s);
goto done;
}
}
Expand Down Expand Up @@ -481,7 +481,7 @@ int event_reg(udomain_t* _d, impurecord_t* r_passed, int event_type, str *presen
return 1;
}
ul.unlock_udomain((udomain_t*) _d, presentity_uri);
LM_DBG("About to ceate notification");
LM_DBG("About to create notification");

create_notifications(_d, r_passed, presentity_uri, watcher_contact, impu_list, num_impus, event_type, explit_dereg_contact, num_explit_dereg_contact);
if (impu_list) {
Expand Down Expand Up @@ -577,7 +577,7 @@ int process_contact(ims_subscription* subscription, udomain_t * _d, int expires,
// }
ul.lock_udomain(_d, &pi->public_identity);
if (ul.get_impurecord(_d, &pi->public_identity, &implicit_impurecord) != 0) {
LM_DBG("usrloc does not have impurecord for implicity IMPU, ignore\n");
LM_DBG("usrloc does not have impurecord for implicitly IMPU, ignore\n");
goto next_implicit_impu;
}
if (ul.get_ucontact(&contact_uri, &callid, &path, 0/*cseq*/, &ucontact) != 0) { //contact does not exist
Expand Down Expand Up @@ -1078,7 +1078,7 @@ int subscribe_to_reg(struct sip_msg *msg, char *_t, char *str2) {
//cscf_get_to_uri(msg, &presentity_uri);
presentity_uri = ul.get_presentity_from_subscriber_dialog(&callid, &ttag, &ftag);
if (presentity_uri.len == 0) {
LM_ERR("Unable to get pres uri from subscriber dialog with callid <%.*s>, ttag <%.*s> and ftag <%.*s>\n", callid.len, callid.s, ttag.len, ttag.s, ftag.len, ftag.s);
LM_ERR("Unable to get presentity uri from subscriber dialog with callid <%.*s>, ttag <%.*s> and ftag <%.*s>\n", callid.len, callid.s, ttag.len, ttag.s, ftag.len, ftag.s);
ret = CSCF_RETURN_FALSE;
goto doneorerror;
}
Expand Down
2 changes: 1 addition & 1 deletion src/modules/ims_registrar_scscf/save.c
Expand Up @@ -948,7 +948,7 @@ int update_contacts(struct sip_msg* msg, udomain_t* _d,
}

for (k = 0; k < num_explicit_dereg_contact; k++) {
LM_DBG("Stored explit contact to dereg: [%.*s]\n", (explicit_dereg_contact)[k].len, (explicit_dereg_contact)[k].s);
LM_DBG("Stored explicit contact to dereg: [%.*s]\n", (explicit_dereg_contact)[k].len, (explicit_dereg_contact)[k].s);
}

//now, we get the subscription
Expand Down
4 changes: 2 additions & 2 deletions src/modules/ims_registrar_scscf/userdata_parser.c
Expand Up @@ -943,7 +943,7 @@ int parser_init(char *dtd_filename, char *xsd_filename)
if (dtd_filename){
dtd = xmlParseDTD(NULL,(unsigned char*)dtd_filename);
if (!dtd){
LM_ERR("unsuccesful DTD parsing from file <%s>\n",
LM_ERR("unsuccessful DTD parsing from file <%s>\n",
dtd_filename);
return 0;
}
Expand All @@ -956,7 +956,7 @@ int parser_init(char *dtd_filename, char *xsd_filename)
xmlSchemaParserCtxtPtr ctxt;
ctxt = xmlSchemaNewParserCtxt(xsd_filename);
if (!ctxt) {
LM_ERR("unsuccesful XSD parsing from file <%s>\n",
LM_ERR("unsuccessful XSD parsing from file <%s>\n",
xsd_filename);
return 0;
}
Expand Down

0 comments on commit 2444e02

Please sign in to comment.