2
0
Эх сурвалжийг харах

- fixed typo for the TLS case (thanks to Nils)
[closes SER-61]

Andrei Pelinescu-Onciul 20 жил өмнө
parent
commit
d3ab3df236
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      tcp_main.c

+ 1 - 1
tcp_main.c

@@ -1665,7 +1665,7 @@ int tcp_init_children()
 	for(r=0, si=tcp_listen; si; si=si->next, r++);
 	for(r=0, si=tcp_listen; si; si=si->next, r++);
 #ifdef USE_TLS
 #ifdef USE_TLS
 	if (! tls_disable)
 	if (! tls_disable)
-		for (si=tls_listen; si; si=si->next; r++);
+		for (si=tls_listen; si; si=si->next, r++);
 #endif
 #endif
 	
 	
 	tcp_max_fd_no=process_count()*2 +r-1 /* timer */ +3; /* stdin/out/err*/
 	tcp_max_fd_no=process_count()*2 +r-1 /* timer */ +3; /* stdin/out/err*/