Module: kamailio
Branch: master
Commit: f0095466c2847c996440c45a8f728adc16f09579
URL:
https://github.com/kamailio/kamailio/commit/f0095466c2847c996440c45a8f728ad…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/f0095466c2847c996440c45a8f728ad…
Patch:
https://github.com/kamailio/kamailio/commit/f0095466c2847c996440c45a8f728ad…
---
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;