Loading sld/trunk/src/options.cc +5 −0 Original line number Diff line number Diff line Loading @@ -133,6 +133,11 @@ Options Options::getoptions(const string file) { if (fs.eof()) break; ++i; // jump empty line if (*line == '#' || *line == 0) continue; sscanf(line, "%10[^=]=%2039s\n", name, value); //TODO: fix magic number if (!strcasecmp(name, "host")) Loading Loading
sld/trunk/src/options.cc +5 −0 Original line number Diff line number Diff line Loading @@ -133,6 +133,11 @@ Options Options::getoptions(const string file) { if (fs.eof()) break; ++i; // jump empty line if (*line == '#' || *line == 0) continue; sscanf(line, "%10[^=]=%2039s\n", name, value); //TODO: fix magic number if (!strcasecmp(name, "host")) Loading