repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
when ioctl() for getting the broadcast address fails, continue the loop to the next...
[deb_libnfs.git]
/
lib
/
socket.c
diff --git
a/lib/socket.c
b/lib/socket.c
index dcbd1c177fd9be1d998399630ad8787be8deb441..e4de894c854e3e752271b1a3cb6833b400ec1a2c 100644
(file)
--- a/
lib/socket.c
+++ b/
lib/socket.c
@@
-311,7
+311,7
@@
int rpc_connect_async(struct rpc_context *rpc, const char *server, int port, rpc
switch (s.ss_family) {
case AF_INET:
socksize = sizeof(struct sockaddr_in);
-#ifdef HAVE_SOCK
_SIN
_LEN
+#ifdef HAVE_SOCK
ADDR
_LEN
sin->sin_len = socksize;
#endif
rpc->fd = socket(AF_INET, SOCK_STREAM, 0);