Преглед изворни кода

- message fix: removed BUG: tcp dead child

Andrei Pelinescu-Onciul пре 22 година
родитељ
комит
69925e5d28
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      tcp_main.c

+ 3 - 1
tcp_main.c

@@ -1159,7 +1159,9 @@ void tcp_main_loop()
 								sizeof(response));
 				if (bytes==0){
 					/* EOF -> bad, child has died */
-					LOG(L_CRIT, "BUG: tcp_main_loop: dead tcp child %d\n", r);
+#ifdef EXTRA_DEBUG
+					DBG("DBG: tcp_main_loop: dead tcp child %d\n", r);
+#endif
 					/* don't listen on it any more */
 					FD_CLR(tcp_children[r].unix_sock, &master_set);
 					/*exit(-1);*/