summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePatch2/Server.cpp')
-rw-r--r--cpp/src/IcePatch2/Server.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/src/IcePatch2/Server.cpp b/cpp/src/IcePatch2/Server.cpp
index 2ad9f40eafc..49f40899343 100644
--- a/cpp/src/IcePatch2/Server.cpp
+++ b/cpp/src/IcePatch2/Server.cpp
@@ -114,9 +114,7 @@ IcePatch2::PatcherService::start(int argc, char* argv[])
throw "cannot change directory to `" + dataDir + "': " + strerror(errno);
}
- loadFileInfoSeq(dataDir + ".sum", infoSeq);
-
- sort(infoSeq.begin(), infoSeq.end(), FileInfoCompare());
+ loadFileInfoSeq(dataDir, infoSeq);
}
catch(const string& ex)
{