mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Add outsize parameter to en64
This commit is contained in:
1 parent
7eba73fc8f
commit
eceb5a22df
7 files changed
+23
-17
No files matched your search
+1
-1
@@ -70,7 +70,7 @@ int clientnegotiate(struct chain * redir, struct clientparam * param, struct soc
|
||||
if(user){
|
||||
len += sprintf((char *)buf + len, "Proxy-Authorization: Basic ");
|
||||
sprintf((char *)username, "%.128s:%.128s", user, pass?pass:(unsigned char *)"");
|
||||
en64(username, buf+len, (int)strlen((char *)username));
|
||||
if(!en64(username, buf+len, (int)strlen((char *)username), 2048 - len)) return 21;
|
||||
len = (int)strlen((char *)buf);
|
||||
len += sprintf((char *)buf + len, "\r\n");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user