Module: kamailio
Branch: master
Commit: 70c1964854fea7cbd4c3990e0e3aef0e9ee3243c
URL: 
https://github.com/kamailio/kamailio/commit/70c1964854fea7cbd4c3990e0e3aef0e9ee3243c

Author: Henning Westerholt <[email protected]>
Committer: Henning Westerholt <[email protected]>
Date: 2026-02-18T10:07:21Z

dmq_usrloc: remove comments about function exit status

---

Modified: src/modules/dmq_usrloc/usrloc_sync.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/70c1964854fea7cbd4c3990e0e3aef0e9ee3243c.diff
Patch: 
https://github.com/kamailio/kamailio/commit/70c1964854fea7cbd4c3990e0e3aef0e9ee3243c.patch

---

diff --git a/src/modules/dmq_usrloc/usrloc_sync.c 
b/src/modules/dmq_usrloc/usrloc_sync.c
index b91eb9bc3a3..0684ff66ddb 100644
--- a/src/modules/dmq_usrloc/usrloc_sync.c
+++ b/src/modules/dmq_usrloc/usrloc_sync.c
@@ -102,12 +102,10 @@ static int add_contact(str aor, ucontact_info_t *ci)
 
        dmq_ul.lock_udomain(_d, &aor);
        res = dmq_ul.get_urecord(_d, &aor, &r);
-       // res can be only 0 or 1
        if(res == 0) {
                LM_DBG("'%.*s' found in usrloc\n", aor.len, ZSW(aor.s));
                res = dmq_ul.get_ucontact(r, ci->c, ci->callid, ci->path, 
ci->cseq, &c);
                LM_DBG("get_ucontact = %d\n", res);
-               // res can be -2, -1, 0 or 1
                if(res < 0) {
                        LM_ERR("Invalid cseq res=%d\n", res);
                        goto error;

_______________________________________________
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