mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-30 02:02:06 +01:00
commit
77c0865326
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ public class Socks5ProxySocketConnection implements ProxySocketConnection {
|
||||||
System.arraycopy(userBytes, 0, buf, index,
|
System.arraycopy(userBytes, 0, buf, index,
|
||||||
user.length());
|
user.length());
|
||||||
index += user.length();
|
index += user.length();
|
||||||
byte[] passwordBytes = user.getBytes(StringUtils.UTF8);
|
byte[] passwordBytes = passwd.getBytes(StringUtils.UTF8);
|
||||||
buf[index++] = (byte) (passwordBytes.length);
|
buf[index++] = (byte) (passwordBytes.length);
|
||||||
System.arraycopy(passwordBytes, 0, buf, index,
|
System.arraycopy(passwordBytes, 0, buf, index,
|
||||||
passwd.length());
|
passwd.length());
|
||||||
|
|
Loading…
Reference in a new issue