@@ -28,7 +28,7 @@ int main(int argc, char** argv) {
std::vector<StatIdx> idx(argc);
for(int i = 1; i < argc; i++) {
- idx[i].readFromFile(argv[i]);
+ idx[i-1].readFromFile(argv[i]);
}
LOG(INFO) << "Starting server...";