Module: kamailio
Branch: master
Commit: d4316319225ba98e940b3631d00531eed6e31f9a
URL:
https://github.com/kamailio/kamailio/commit/d4316319225ba98e940b3631d00531e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-11-30T15:11:27+01:00
tm: removed function name from log messages
- it is already in the prefix
---
Modified: src/modules/tm/tm.c
---
Diff:
https://github.com/kamailio/kamailio/commit/d4316319225ba98e940b3631d00531e…
Patch:
https://github.com/kamailio/kamailio/commit/d4316319225ba98e940b3631d00531e…
---
diff --git a/src/modules/tm/tm.c b/src/modules/tm/tm.c
index 1beeee1053..06e315fe14 100644
--- a/src/modules/tm/tm.c
+++ b/src/modules/tm/tm.c
@@ -2913,7 +2913,7 @@ static int ki_t_relay_to_proto(sip_msg_t *msg, str *sproto)
} else if (strncasecmp(sproto->s, "TLS", 3)) {
proto = PROTO_TLS;
} else {
- LM_ERR("t_relay_to_proto failed, bad protocol specified <%s>\n",
sproto->s);
+ LM_ERR("bad protocol specified <%s>\n", sproto->s);
return E_UNSPEC;
}
}
@@ -2937,7 +2937,7 @@ static int ki_t_relay_to_proto_addr(sip_msg_t *msg, str *sproto, str
*host, unsi
} else if (strncasecmp(sproto->s, "TLS", 3)) {
proto = PROTO_TLS;
} else {
- LM_ERR("t_relay_to_proto2 failed, bad protocol specified <%s>\n",
sproto->s);
+ LM_ERR("bad protocol specified <%s>\n", sproto->s);
return E_UNSPEC;
}
}