Call base4_encode() with "1" for its new "pad" arg so that the
[rsync/rsync.git] / socket.c
index 47f7ce1..c850cd3 100644 (file)
--- a/socket.c
+++ b/socket.c
@@ -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';