Skip to content

Commit

Permalink
ran format plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoodkft committed Oct 28, 2024
1 parent eb41b78 commit 2ac21a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/com/jcraft/jsch/jzlib/Deflate.java
Original file line number Diff line number Diff line change
Expand Up @@ -1309,8 +1309,9 @@ int longest_match(int cur_match) {
&& window[++scan] == window[++match] && window[++scan] == window[++match]
&& scan < strend);

//len here is set to MAX_MATCH minus (strend minus scan, i.e. the distance between scan and strend)
//to ensure that best_len is set to the best possible length to lookahead
// len here is set to MAX_MATCH minus (strend minus scan, i.e. the distance between scan and
// strend)
// to ensure that best_len is set to the best possible length to lookahead
len = MAX_MATCH - (strend - scan);
scan = strend - MAX_MATCH;

Expand Down

0 comments on commit 2ac21a5

Please sign in to comment.