diff options
| author | Wayne Davison <wayned@samba.org> | 2004-01-20 04:56:20 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2004-01-20 04:56:20 +0000 |
| commit | 893c4cc0564c00dd541f9ee612be5896a7894679 (patch) | |
| tree | 81ba5bb08509d398553a80dac97c1e9a3ed8889e /socket.c | |
| parent | a7725e6df9d1ddd69fd4de82d5d703fa073424fa (diff) | |
| download | android_external_rsync-893c4cc0564c00dd541f9ee612be5896a7894679.tar.gz android_external_rsync-893c4cc0564c00dd541f9ee612be5896a7894679.tar.bz2 android_external_rsync-893c4cc0564c00dd541f9ee612be5896a7894679.zip | |
Use new stringjoin() function.
Diffstat (limited to 'socket.c')
| -rw-r--r-- | socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -48,8 +48,8 @@ static int establish_proxy_connection(int fd, char *host, int port, int len; if (proxy_user && proxy_pass) { - snprintf(buffer, sizeof buffer, "%s:%s", - proxy_user, proxy_pass); + stringjoin(buffer, sizeof buffer, + proxy_user, ":", proxy_pass, NULL); len = strlen(buffer); if ((len*8 + 5) / 6 >= (int)sizeof authbuf) { |
