This commit is contained in:
Shikhar Bhushan
2010-02-27 17:22:07 +01:00
parent da0f6dc0eb
commit 948f5b84a0

View File

@@ -101,7 +101,7 @@ public class SFTPEngine implements Requester {
out.write((len >>> 16) & 0xff);
out.write((len >>> 8) & 0xff);
out.write(len & 0xff);
out.write(payload.array(), 0, len);
out.write(payload.array(), payload.rpos(), len);
out.flush();
}