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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2023-11-22T14:53:33+01:00

avpops: do not print module name in log messages

- it is added automatically

---

Modified: src/modules/avpops/avpops.c

---

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

---

diff --git a/src/modules/avpops/avpops.c b/src/modules/avpops/avpops.c
index 577a7d7fabe..9fc662ab603 100644
--- a/src/modules/avpops/avpops.c
+++ b/src/modules/avpops/avpops.c
@@ -810,12 +810,12 @@ static int fixup_subst(void **param, int param_no)
                }
                *param = (void *)av;
        } else if(param_no == 2) {
-               LM_DBG("%s fixing %s\n", exports.name, (char *)(*param));
+               LM_DBG("fixing: %s\n", (char *)(*param));
                subst.s = *param;
                subst.len = strlen(*param);
                se = subst_parser(&subst);
                if(se == 0) {
-                       LM_ERR("%s: bad subst re %s\n", exports.name, (char 
*)*param);
+                       LM_ERR("bad subst re: %s\n", (char *)*param);
                        return E_BAD_RE;
                }
                /* don't free string -- needed for specifiers */

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to [email protected]

Reply via email to