Browse code

- message fix: removed BUG: tcp dead child

Andrei Pelinescu-Onciul authored on 11/12/2003 14:02:32
Showing 1 changed files
... ...
@@ -1159,7 +1159,9 @@ void tcp_main_loop()
1159 1159
 								sizeof(response));
1160 1160
 				if (bytes==0){
1161 1161
 					/* EOF -> bad, child has died */
1162
-					LOG(L_CRIT, "BUG: tcp_main_loop: dead tcp child %d\n", r);
1162
+#ifdef EXTRA_DEBUG
1163
+					DBG("DBG: tcp_main_loop: dead tcp child %d\n", r);
1164
+#endif
1163 1165
 					/* don't listen on it any more */
1164 1166
 					FD_CLR(tcp_children[r].unix_sock, &master_set);
1165 1167
 					/*exit(-1);*/