diff options
author | Wayne Davison <wayned@samba.org> | 2006-03-06 18:22:26 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-03-06 18:22:26 +0000 |
commit | 6854bf69a826aad2129272f2504a5be789a0912b (patch) | |
tree | f33544f9696c874e12e16f9a923e7e5965bc8c05 /socket.c | |
parent | 293def601d3267a361120cf85bfd902e7b2c3736 (diff) | |
download | rsync-6854bf69a826aad2129272f2504a5be789a0912b.tar.gz rsync-6854bf69a826aad2129272f2504a5be789a0912b.tar.bz2 rsync-6854bf69a826aad2129272f2504a5be789a0912b.zip |
Call base4_encode() with "1" for its new "pad" arg so that the
Proxy-Authorization header is properly padded with trailing '='
chars.
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ static int establish_proxy_connection(int fd, char *host, int port, return -1; } - base64_encode(buffer, len, authbuf); + base64_encode(buffer, len, authbuf, 1); authhdr = "\r\nProxy-Authorization: Basic "; } else { *authbuf = '\0'; |