fixed a bug in consise_dcf_loop() in dcf.c
authorgroke6
Mon, 14 Jan 2008 14:28:49 +0100
changeset 353 ee08ce0366a7
parent 352 3347581c3140
child 354 396ac66670ad
fixed a bug in consise_dcf_loop() in dcf.c
src/dcf.c
--- a/src/dcf.c	Fri Jan 11 09:39:49 2008 +0100
+++ b/src/dcf.c	Mon Jan 14 14:28:49 2008 +0100
@@ -162,14 +162,13 @@
       		(*d->post_SlaveBootup)(nodeId);
       	}
  	}
- 	else
-   	{
-   		/* Check the next element*/
-   		//nodeId++;
-   		nodeId=(nodeId+1) % d->dcf_odentry->bSubCount;
-   		if(nodeId==d->dcf_odentry->bSubCount)nodeId=1;
-   		d->dcf_cursor = NULL;
-   	}
+ 	
+   	/* Check the next element*/
+   	//nodeId++;
+   	nodeId=(nodeId+1) % d->dcf_odentry->bSubCount;
+   	if(nodeId==d->dcf_odentry->bSubCount)nodeId=1;
+   	d->dcf_cursor = NULL;
+
   }
   
   //DCF_finish: