Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:2663:    loc=loc[strlen(file)..];    sscanf(loc, "%s/", loc);    if (dir) {    dir |= ({ loc });    } else {    dir = ({ loc });    }    TRACE_LEAVE("Added module mountpoint.");    }    } -  if(!dir) return verbose ? ({0})+locks : ([])[0]; +  if(!dir) { +  TRACE_LEAVE("No directory contents.\n"); +  return verbose ? ({0})+locks : ([])[0]; +  }    if(sizeof(dir))    {    TRACE_LEAVE(sprintf("Returning list of %d files.", sizeof(dir)));    return dir;    }    TRACE_LEAVE("Returning 'No such directory'.");    return 0;   }      // Stat a virtual file.