Browse code

core: substitute ser string with NAME macro

(cherry picked from commit 102ef546ee418fcc92eaa8fe16c3a4fd453036c0)
(cherry picked from commit 2438734c664b00362a0cab4e342e5f6f8a98210e)

Mikko Lehto authored on 18/04/2017 16:27:56
Showing 1 changed files
... ...
@@ -993,7 +993,7 @@ int fix_actions(struct action* a)
993 993
 				si=find_si(&ip, ((struct socket_id*)t->val[0].u.data)->port,
994 994
 								((struct socket_id*)t->val[0].u.data)->proto);
995 995
 				if (si==0){
996
-					LM_ERR("bad force_send_socket argument: %s:%d (ser doesn't listen on it)\n",
996
+					LM_ERR("bad force_send_socket argument: %s:%d (" NAME " doesn't listen on it)\n",
997 997
 						((struct socket_id*)t->val[0].u.data)->addr_lst->name,
998 998
 							((struct socket_id*)t->val[0].u.data)->port);
999 999
 					ret = E_BAD_ADDRESS;