瀏覽代碼

- 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);*/