Skip to content

Commit 57f8033

Browse files
committed
small fix for proxy status checking
1 parent 7b96105 commit 57f8033

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/meteordevelopment/meteorclient/systems/proxies

src/main/java/meteordevelopment/meteorclient/systems/proxies/Proxy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ private boolean isSocks4() throws IOException {
160160
// SOCKS4a
161161
else {
162162
byte[] addr = address.get().getBytes();
163-
bb = ByteBuffer.allocate(9 + u.length + addr.length)
163+
bb = ByteBuffer.allocate(10 + u.length + addr.length)
164164
.put((byte) 4)
165165
.put((byte) 1)
166166
.putShort(port.get().shortValue())

0 commit comments

Comments
 (0)