Module: sems Branch: master Commit: 497e77bb69b00bee5aa0c11056bafaf48c46399d URL: https://github.com/sems-server/sems/commit/497e77bb69b00bee5aa0c11056bafaf48c46399d
Author: Juha Heinanen <[email protected]> Committer: Juha Heinanen <[email protected]> Date: 2015-03-17T00:46:28+02:00 core: added missing inits in order to keep valgrind happy - patch provided by Joseph Stusick --- Modified: core/AmConfig.cpp --- Diff: https://github.com/sems-server/sems/commit/497e77bb69b00bee5aa0c11056bafaf48c46399d.diff Patch: https://github.com/sems-server/sems/commit/497e77bb69b00bee5aa0c11056bafaf48c46399d.patch --- diff --git a/core/AmConfig.cpp b/core/AmConfig.cpp index fc56ded..3c4135d 100644 --- a/core/AmConfig.cpp +++ b/core/AmConfig.cpp @@ -158,7 +158,8 @@ static int readInterfaces(AmConfigReader& cfg); AmConfig::IP_interface::IP_interface() : LocalIP(), - PublicIP() + PublicIP(), + NetIfIdx(0) { } @@ -166,7 +167,9 @@ AmConfig::SIP_interface::SIP_interface() : IP_interface(), LocalPort(5060), SigSockOpts(0), - RtpInterface(-1) + RtpInterface(-1), + tcp_connect_timeout(DEFAULT_TCP_CONNECT_TIMEOUT), + tcp_idle_timeout(DEFAULT_TCP_IDLE_TIMEOUT) { } _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
