diff options
author | Jeremy Allison <jra@samba.org> | 2007-11-21 10:31:18 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-11-21 10:31:18 -0800 |
commit | dc9237d231a39bbed988baa9371ceb785ba32665 (patch) | |
tree | 901165699c7d53c700498dca900e6974dfd8973c /source3 | |
parent | e68bbe3548df2400022a86af4681bcdf89481e9a (diff) | |
download | samba-dc9237d231a39bbed988baa9371ceb785ba32665.tar.gz samba-dc9237d231a39bbed988baa9371ceb785ba32665.tar.bz2 samba-dc9237d231a39bbed988baa9371ceb785ba32665.zip |
Doh ! Don't use #else when #endif is needed.
Jeremy.
(This used to be commit a04e916b89c901911ffc0a62e57a3ec87fe7ac28)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/util_sock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index f1a6d826e0..e49db340ae 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -633,11 +633,10 @@ void set_sockaddr_port(struct sockaddr_storage *psa, uint16 port) if (psa->ss_family == AF_INET6) { ((struct sockaddr_in6 *)psa)->sin6_port = htons(port); } -#else +#endif if (psa->ss_family == AF_INET) { ((struct sockaddr_in *)psa)->sin_port = htons(port); } -#endif } const char *client_name(int fd) |