fix: read

This commit is contained in:
Manuel Jenny 2021-03-16 16:34:20 +01:00
parent ceb2de61d4
commit 42abae3a5a
No known key found for this signature in database
GPG Key ID: 1C80FE62B2BEAA18

View File

@ -221,7 +221,7 @@ class PCloudImpl {
DataSink sink = new DataSink() { DataSink sink = new DataSink() {
@Override @Override
public void readAll(BufferedSource source) throws IOException { public void readAll(BufferedSource source) throws IOException {
CopyStream.copyStreamToStream(source.getBuffer().inputStream(), data); CopyStream.copyStreamToStream(source.inputStream(), data);
} }
}; };