git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bbd6f4b
)
Some platforms may have getaddrinfo() but not sockaddr_storage.
author
Martin Pool
<mbp@samba.org>
Wed, 5 Dec 2001 13:19:16 +0000
(13:19 +0000)
committer
Martin Pool
<mbp@samba.org>
Wed, 5 Dec 2001 13:19:16 +0000
(13:19 +0000)
rsync.h
patch
|
blob
|
history
socket.c
patch
|
blob
|
history
diff --git
a/rsync.h
b/rsync.h
index 191ea5e47509a92451388b52b91a616b73efcc7d..f723b34cc3c6c619b9cc5170ed11980bb64c2ea7 100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-390,6
+390,7
@@
static inline int flist_up(struct file_list *flist, int i)
#include "proto.h"
#include "lib/mdfour.h"
#include "lib/permstring.h"
#include "proto.h"
#include "lib/mdfour.h"
#include "lib/permstring.h"
+#include "lib/addrinfo.h"
/* We have replacement versions of these if they're missing. */
#ifndef HAVE_ASPRINTF
/* We have replacement versions of these if they're missing. */
#ifndef HAVE_ASPRINTF
diff --git
a/socket.c
b/socket.c
index 02a25111619ce8a220b73d8630a24b14a6cd40d4..2c2191e1340dab5d616a5e65ff82a24beab52b6e 100644
(file)
--- a/
socket.c
+++ b/
socket.c
@@
-26,10
+26,6
@@
#include "rsync.h"
#include "rsync.h"
-#ifndef HAVE_GETADDRINFO
-#include "lib/addrinfo.h"
-#endif
-
/* Establish a proxy connection on an open socket to a web roxy by
* using the CONNECT method. */
static int establish_proxy_connection(int fd, char *host, int port)
/* Establish a proxy connection on an open socket to a web roxy by
* using the CONNECT method. */
static int establish_proxy_connection(int fd, char *host, int port)