master/slave.c
changeset 1924 2917b262554b
parent 1921 d9cf40facbc4
child 1998 0330fdcbdd1f
child 2291 1f44094e2004
equal deleted inserted replaced
1923:712d04506f12 1924:2917b262554b
   579 {
   579 {
   580     if (!index--) 
   580     if (!index--) 
   581         return NULL;
   581         return NULL;
   582 
   582 
   583     if (index >= slave->sii.string_count) {
   583     if (index >= slave->sii.string_count) {
   584         if (slave->master->debug_level)
   584         EC_SLAVE_DBG(slave, 1, "String %u not found.\n", index);
   585             EC_SLAVE_WARN(slave, "String %u not found.\n", index);
       
   586         return NULL;
   585         return NULL;
   587     }
   586     }
   588 
   587 
   589     return slave->sii.strings[index];
   588     return slave->sii.strings[index];
   590 }
   589 }