Просмотр исходного кода

core: select - init proto string to udp

Daniel-Constantin Mierla 7 лет назад
Родитель
Сommit
da31e70a2c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/core/select_core.c

+ 1 - 1
src/core/select_core.c

@@ -1286,7 +1286,7 @@ ABSTRACT_F(select_dst)
 ABSTRACT_F(select_rcv)
 int select_ip_port(str* res, select_t* s, struct sip_msg* msg)
 {
-	str ip_str=STR_NULL, port_str=STR_NULL, proto_str=STR_NULL;
+	str ip_str=STR_NULL, port_str=STR_NULL, proto_str=str_init("udp");
 	int param, pos;