# HG changeset patch # User groke6 # Date 1200317329 -3600 # Node ID ee08ce0366a7ec8ad208241bf6e6a4035f2e9a61 # Parent 3347581c31401835f7bdc9d04a339d4b45f5dac1 fixed a bug in consise_dcf_loop() in dcf.c diff -r 3347581c3140 -r ee08ce0366a7 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: