git.samba.org
/
gd
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ctdb: Fix the build on FreeBSD 10.1
[gd/samba-autobuild/.git]
/
ctdb
/
common
/
system_util.c
diff --git
a/ctdb/common/system_util.c
b/ctdb/common/system_util.c
index 1ae0bae80396ea8d28e38ca8ee61c6138ebab867..663df6e6b579eabc7a5e254accc2130468157aac 100644
(file)
--- a/
ctdb/common/system_util.c
+++ b/
ctdb/common/system_util.c
@@
-157,7
+157,7
@@
bool parse_ipv4(const char *s, unsigned port, struct sockaddr_in *sin)
}
#ifdef HAVE_SOCK_SIN_LEN
- sin->
ip.
sin_len = sizeof(*sin);
+ sin->sin_len = sizeof(*sin);
#endif
return true;
}