rem: if (strcasecmp(strList[i], str)) return i;
add: if (strcasecmp(strList[i], str)==0) { debug("findInStrList: %s is at %d", str, i); return i; }
context: static int findInStrList(const char* strList[], const char* str){  int i;  assert(strList != NULL);  if (!str) return -1;  for (i=0; strList[i]; i++)    if (strcasecmp(strList[i], str)) return i;  return -1;}