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

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2024-12-19T09:24:41+01:00

core: info log when no r-uri or branches found for print_dset()

---

Modified: src/core/dset.c

---

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

---

diff --git a/src/core/dset.c b/src/core/dset.c
index 88b477cdff1..e30277eb7ea 100644
--- a/src/core/dset.c
+++ b/src/core/dset.c
@@ -739,8 +739,8 @@ char *print_dset(struct sip_msg *msg, int *len, int options)
        }
 
        if(cnt == 0) {
-               LM_WARN("no r-uri or branches\n");
-               goto error;
+               LM_INFO("no new r-uri or branches\n");
+               goto notfound;
        }
 
        if(p + CRLF_LEN + 1 > end) {
@@ -753,7 +753,7 @@ char *print_dset(struct sip_msg *msg, int *len, int options)
 
 memfail:
        LM_ERR("redirection buffer length exceed\n");
-error:
+notfound:
        *len = 0;
        set_branch_iterator(crt_branch);
        return 0;

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to