Skip to content
This repository has been archived by the owner on Feb 28, 2019. It is now read-only.

Commit

Permalink
fix for long szbase paths
Browse files Browse the repository at this point in the history
+ fixed algorithm recalculating szbase paths from patches in ss client: curr_path = patch(prev_path)
+ bug affected szbase paths longer than 126. Now the algorithm should support properly paths of length up to 126*126
  • Loading branch information
abarcz committed Jun 14, 2016
1 parent cdd8480 commit 67a1132
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wx/sync/ssclient.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1424,6 +1424,7 @@ char* Client::ExecuteScript(const char* b, const char* s) {
{ \
VAL = 0; \
uint8_t t = (s[i++] - 1) * 126; \
VAL += t; \
t = s[i++] - 1; \
VAL += t; \
}
Expand Down

0 comments on commit 67a1132

Please sign in to comment.