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

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

Jeremy.
This commit is contained in:
Jeremy Allison 2007-11-21 10:31:18 -08:00
parent 4b47052694
commit a04e916b89

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)