@henningw commented on this pull request.


> @@ -102,15 +102,14 @@ static int add_contact(str aor, ucontact_info_t *ci)
 
        dmq_ul.lock_udomain(_d, &aor);
        res = dmq_ul.get_urecord(_d, &aor, &r);
-       if(res < 0) {
-               LM_ERR("failed to retrieve record from usrloc\n");
-               goto error;
-       } else if(res == 0) {
+       // res can be only 0 or 1

fixed in 70c1964854f

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4593#discussion_r2821451696
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/4593/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!

Reply via email to