[sr-dev] git:master: Core: Bugfix: Do not reset tcp_listeners: We may only listen on TCP.

Carsten Bock carsten at ng-voice.com
Thu May 22 21:52:49 CEST 2014


Module: sip-router
Branch: master
Commit: 9b9d15875aa09a5574ff0754309f4f77161d3194
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9b9d15875aa09a5574ff0754309f4f77161d3194

Author: Carsten Bock <carsten at ng-voice.com>
Committer: Carsten Bock <carsten at ng-voice.com>
Date:   Thu May 22 21:07:17 2014 +0200

Core: Bugfix: Do not reset tcp_listeners: We may only listen on TCP.

---

 main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/main.c b/main.c
index bcfcf9f..63a6b13 100644
--- a/main.c
+++ b/main.c
@@ -1789,7 +1789,7 @@ static int calc_proc_no(void)
 	tcp_listeners += tcp_e_listeners;
 #ifdef USE_TLS
 	tcp_e_listeners = 0;
-	for (si=tls_listen, tcp_listeners=0, tcp_e_listeners=0; si; si=si->next) {
+	for (si=tls_listen, tcp_e_listeners=0; si; si=si->next) {
 		if(si->workers>0)
 			tcp_listeners += si->workers;
 		else {




More information about the sr-dev mailing list