Browse code

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

Carsten Bock authored on 22/05/2014 19:07:17
Showing 1 changed files
... ...
@@ -1789,7 +1789,7 @@ static int calc_proc_no(void)
1789 1789
 	tcp_listeners += tcp_e_listeners;
1790 1790
 #ifdef USE_TLS
1791 1791
 	tcp_e_listeners = 0;
1792
-	for (si=tls_listen, tcp_listeners=0, tcp_e_listeners=0; si; si=si->next) {
1792
+	for (si=tls_listen, tcp_e_listeners=0; si; si=si->next) {
1793 1793
 		if(si->workers>0)
1794 1794
 			tcp_listeners += si->workers;
1795 1795
 		else {