We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c62e4cd commit 843b8b4Copy full SHA for 843b8b4
src/main/java/com/dampcake/bencode/BencodeInputStream.java
@@ -256,7 +256,7 @@ private Object readObject(final int token) throws IOException {
256
257
if (type == Type.STRING && !useBytes)
258
return readString();
259
- if (type == Type.STRING && useBytes)
+ if (type == Type.STRING)
260
return readStringBytes();
261
if (type == Type.NUMBER)
262
return readNumber();
0 commit comments