1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Doh ! Don't use #else when #endif is needed.

Jeremy.
(This used to be commit a04e916b89)
This commit is contained in:
Jeremy Allison 2007-11-21 10:31:18 -08:00
parent e68bbe3548
commit dc9237d231

View File

@ -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)