[sr-dev] git:master:da31e70a: core: select - init proto string to udp
Daniel-Constantin Mierla
miconda at gmail.com
Fri Dec 8 16:51:21 CET 2017
Module: kamailio
Branch: master
Commit: da31e70a2c63454dd7126d6ed47be977f36c73f0
URL: https://github.com/kamailio/kamailio/commit/da31e70a2c63454dd7126d6ed47be977f36c73f0
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-12-08T16:50:51+01:00
core: select - init proto string to udp
---
Modified: src/core/select_core.c
---
Diff: https://github.com/kamailio/kamailio/commit/da31e70a2c63454dd7126d6ed47be977f36c73f0.diff
Patch: https://github.com/kamailio/kamailio/commit/da31e70a2c63454dd7126d6ed47be977f36c73f0.patch
---
diff --git a/src/core/select_core.c b/src/core/select_core.c
index d1f2ae7b4d..112dee489e 100644
--- a/src/core/select_core.c
+++ b/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;
More information about the sr-dev
mailing list