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

*** empty log message ***

Jan Janak 23 жил өмнө
parent
commit
d3622a2f39
1 өөрчлөгдсөн 5 нэмэгдсэн , 2 устгасан
  1. 5 2
      main.c

+ 5 - 2
main.c

@@ -334,11 +334,12 @@ int main_loop()
 		     /* We will call child_init even if we
 		      * do not fork
 		      */
-		if (init_child(0) < 0) {
+/*
+		if (init_child(1) < 0) {
 			LOG(L_ERR, "init_child failed\n");
 			goto error;
 		}
-		
+*/		
 		return udp_rcv_loop();
 	}else{
 		for(r=0;r<addresses_no;r++){
@@ -351,10 +352,12 @@ int main_loop()
 				}
 				if (pid==0){
 					     /* child */
+/*
 					if (init_child(i) < 0) {
 						LOG(L_ERR, "init_child failed\n");
 						goto error;
 					}
+*/
 					process_no=i+1; /*0=main*/
 					process_bit = 1 << i;
 #ifdef STATS