[sr-dev] git:master:102ef546: core: substitute ser string with NAME macro

Mikko Lehto mslehto at iki.fi
Wed Apr 19 08:07:34 CEST 2017


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

Author: Mikko Lehto <mslehto at iki.fi>
Committer: Mikko Lehto <mslehto at iki.fi>
Date: 2017-04-18T19:27:56+03:00

core: substitute ser string with NAME macro

---

Modified: src/core/route.c

---

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

---

diff --git a/src/core/route.c b/src/core/route.c
index 97df31e..63e4f83 100644
--- a/src/core/route.c
+++ b/src/core/route.c
@@ -993,7 +993,7 @@ int fix_actions(struct action* a)
 				si=find_si(&ip, ((struct socket_id*)t->val[0].u.data)->port,
 								((struct socket_id*)t->val[0].u.data)->proto);
 				if (si==0){
-					LM_ERR("bad force_send_socket argument: %s:%d (ser doesn't listen on it)\n",
+					LM_ERR("bad force_send_socket argument: %s:%d (" NAME " doesn't listen on it)\n",
 						((struct socket_id*)t->val[0].u.data)->addr_lst->name,
 							((struct socket_id*)t->val[0].u.data)->port);
 					ret = E_BAD_ADDRESS;




More information about the sr-dev mailing list