summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorkelek- <k@dev.null>2017-04-22 19:46:04 +0200
committerPatrick <tingping@tingping.se>2020-04-11 13:19:31 -0700
commit37192a913603c11ac652fa8fc3a74dc281542e4d (patch)
tree5b0e6c0ee74bf7a56e2590f0ad617f2beb88edc1 /src/common
parent3871fbaacb580e959f0d358cc18a76de6b8fd6a4 (diff)
Updated the maximum length of the socks5 user and password to comply to RFC 1929, where both the password and the username length is definied as a maximum of 255
Diffstat (limited to 'src/common')
-rw-r--r--src/common/hexchat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/hexchat.h b/src/common/hexchat.h
index c64e44a0..a9e22372 100644
--- a/src/common/hexchat.h
+++ b/src/common/hexchat.h
@@ -301,8 +301,8 @@ struct hexchatprefs
 	char hex_irc_user_name[127];
 	char hex_net_bind_host[127];
 	char hex_net_proxy_host[64];
-	char hex_net_proxy_pass[32];
-	char hex_net_proxy_user[32];
+	char hex_net_proxy_pass[256];
+	char hex_net_proxy_user[256];
 	char hex_stamp_log_format[64];
 	char hex_stamp_text_format[64];
 	char hex_text_background[PATHLEN + 1];