src/dcf.c
changeset 668 ba53613e94e4
parent 609 c59dce78bbad
child 669 50da44ebaf00
equal deleted inserted replaced
667:f48424ce2a5e 668:ba53613e94e4
    95     ODCallback_t *Callback;
    95     ODCallback_t *Callback;
    96     d->dcf_odentry = (*d->scanIndexOD)(0x1F22, &errorCode, &Callback);
    96     d->dcf_odentry = (*d->scanIndexOD)(0x1F22, &errorCode, &Callback);
    97     /* If DCF entry do not exist... Nothing to do.*/
    97     /* If DCF entry do not exist... Nothing to do.*/
    98     if (errorCode != OD_SUCCESSFUL) goto DCF_finish;
    98     if (errorCode != OD_SUCCESSFUL) goto DCF_finish;
    99   }
    99   }
   100 
   100   if(d->dcf_odentry->bSubCount<=nodeId) goto DCF_finish; /* Fix DCF table overflow */
   101   szData = d->dcf_odentry->pSubindex[nodeId].size;
   101   szData = d->dcf_odentry->pSubindex[nodeId].size;
   102   
   102   
   103   /* if the entry for the nodeId is not empty. */
   103   /* if the entry for the nodeId is not empty. */
   104   if(szData!=0){
   104   if(szData!=0){
   105   	/* if the entry for the nodeId is already been processing, quit.*/
   105   	/* if the entry for the nodeId is already been processing, quit.*/