[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-353-ga04e916

Jeremy Allison jra at samba.org
Wed Nov 21 18:31:47 GMT 2007


The branch, v3-2-test has been updated
       via  a04e916b89c901911ffc0a62e57a3ec87fe7ac28 (commit)
      from  4b47052694285a1d1d313dfd61bd17011d62948d (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit a04e916b89c901911ffc0a62e57a3ec87fe7ac28
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Nov 21 10:31:18 2007 -0800

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

-----------------------------------------------------------------------

Summary of changes:
 source/lib/util_sock.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/util_sock.c b/source/lib/util_sock.c
index f1a6d82..e49db34 100644
--- a/source/lib/util_sock.c
+++ b/source/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)


-- 
Samba Shared Repository


More information about the samba-cvs mailing list