repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea283cd
)
Use sockaddr_in6 instead of sockaddr6_in
author
Petr Salinger
<Petr.Salinger@seznam.cz>
Fri, 18 Jul 2014 23:14:43 +0000
(
01:14
+0200)
committer
Balint Reczey
<balint@balintreczey.hu>
Sat, 19 Jul 2014 16:07:13 +0000
(18:07 +0200)
lib/socket.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/socket.c
b/lib/socket.c
index f973f0178b923a0dab3f369fea14a04b076e85ab..3f7f89f90c9a368dc5ff6c48c0ab87f790d4e096 100644
(file)
--- a/
lib/socket.c
+++ b/
lib/socket.c
@@
-506,7
+506,7
@@
static int rpc_connect_sockaddr_async(struct rpc_context *rpc, struct sockaddr_s
((struct sockaddr_in6 *)&ss)->sin6_port = port;
((struct sockaddr_in6 *)&ss)->sin6_family = AF_INET6;
#ifdef HAVE_SOCKADDR_LEN
- ((struct sockaddr_in6 *)&ss)->sin6_len = sizeof(struct sockaddr
6_in
);
+ ((struct sockaddr_in6 *)&ss)->sin6_len = sizeof(struct sockaddr
_in6
);
#endif
break;
}