@linuxmaniac commented on this pull request.
> *scontact = impucontact->contact;
return 0;
}
+ if(alias_term) {
+ LM_DBG("Comparing [%.*s] and [%.*s]\n",
alias_searchlen, s_term,
+ c_searchlen, c_term);
+ if(strncmp(c_term, s_term, alias_searchlen) ==
0) {
+ *scontact = impucontact->contact;
+ return 0;
+ }
+ }
+ }
+ if(impucontact->contact) {
yes, now that you mention it. It could be simplified. Pushed another revision
with that inside the if.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4454#discussion_r2470505633
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4454/review/[email protected]>_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!