git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e68bbe3
)
Doh ! Don't use #else when #endif is needed.
author
Jeremy Allison
<jra@samba.org>
Wed, 21 Nov 2007 18:31:18 +0000
(10:31 -0800)
committer
Jeremy Allison
<jra@samba.org>
Wed, 21 Nov 2007 18:31:18 +0000
(10:31 -0800)
Jeremy.
(This used to be commit
a04e916b89c901911ffc0a62e57a3ec87fe7ac28
)
source3/lib/util_sock.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_sock.c
b/source3/lib/util_sock.c
index f1a6d826e074bc0996c1b21b4f696bd3fb54e34e..e49db340ae0f2246d5a838221322ecc2060d8998 100644
(file)
--- 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);
}
-#e
lse
+#e
ndif
if (psa->ss_family == AF_INET) {
((struct sockaddr_in *)psa)->sin_port = htons(port);
}
-#endif
}
const char *client_name(int fd)