2
0
Эх сурвалжийг харах

tm: removed function name from log messages

- it is already in the prefix
Daniel-Constantin Mierla 4 жил өмнө
parent
commit
d431631922
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      src/modules/tm/tm.c

+ 2 - 2
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;
 		}
 	}