mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Doh ! Don't use #else when #endif is needed.
Jeremy.
(This used to be commit a04e916b89
)
This commit is contained in:
parent
e68bbe3548
commit
dc9237d231
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user