Skip to content

Commit

Permalink
[SSHD-765] SFTP client fails to retrieve a binary file using an Input…
Browse files Browse the repository at this point in the history
…Stream
  • Loading branch information
michbin authored and Lyor Goldstein committed Aug 23, 2017
1 parent 83b2a01 commit b3c8181
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -127,7 +127,7 @@ public synchronized void reset() throws IOException {
public int read() throws IOException {
int read = read(bb, 0, 1);
if (read > 0) {
return bb[0];
return bb[0] & 0xFF;
}

return read;
Expand Down

0 comments on commit b3c8181

Please sign in to comment.