Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Note rsyncd-over-ssh and documentation TODOs.
[rsync/rsync.git]
/
socket.c
diff --git
a/socket.c
b/socket.c
index
94c28a6
..
0ad8a16
100644
(file)
--- a/
socket.c
+++ b/
socket.c
@@
-298,6
+298,7
@@
static int open_socket_in(int type, int port, const char *bind_address,
case EPROTONOSUPPORT:
case EAFNOSUPPORT:
case EPFNOSUPPORT:
case EPROTONOSUPPORT:
case EAFNOSUPPORT:
case EPFNOSUPPORT:
+ case EINVAL:
/* See if there's another address that will work... */
continue;
}
/* See if there's another address that will work... */
continue;
}
@@
-578,7
+579,7
@@
char *client_addr(int fd)
}
}
-static
sa_family_
t get_sockaddr_family(const struct sockaddr_storage *ss)
+static
in
t get_sockaddr_family(const struct sockaddr_storage *ss)
{
return ((struct sockaddr *) ss)->sa_family;
}
{
return ((struct sockaddr *) ss)->sa_family;
}