Skip to content
Snippets Groups Projects
Commit ee1c1af8 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix hash comparison

parent 11f21070
Branches
Tags
No related merge requests found
......@@ -94,7 +94,7 @@ SyncTERMCache.prototype.upload = function (fname, cache_fname)
if (idx !== -1) {
idx += 2;
idx += cache_fname.length;
if (hash == lst.substr(idx, idx + 32)) {
if (hash == lst.substr(idx, 32)) {
f.close();
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment