From a3865c8f499b19fbd5e15f69f838b28734570bc5 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 9 Jul 2016 19:07:03 -0400 Subject: [PATCH] remove debugging stuff --- src/client/Client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/Client.cpp b/src/client/Client.cpp index f1202ecad..b089ef0c3 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -829,10 +829,10 @@ bool Client::CheckUpdate(void *updateRequest, bool checkSession) int snapshotSnapshot = snapshotVersion["Snapshot"].asInt(); std::string snapshotFile = snapshotVersion["File"].asString(); std::string snapshotChangelog = snapshotVersion["Changelog"].asString(); - //if (snapshotSnapshot > SNAPSHOT_ID) + if (snapshotSnapshot > SNAPSHOT_ID) { updateAvailable = true; - updateInfo = UpdateInfo(2, snapshotFile, snapshotChangelog, UpdateInfo::Snapshot); + updateInfo = UpdateInfo(snapshotSnapshot, snapshotFile, snapshotChangelog, UpdateInfo::Snapshot); } #endif