[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-2670-gee48100

Michael Adam obnox at samba.org
Fri Feb 29 12:40:56 GMT 2008


The branch, v3-2-test has been updated
       via  ee4810099c2d26a0ebab3c41a95bc6b57921683d (commit)
      from  1fb69ad1f5c79dd77f73a5fee266e1e363e6974d (commit)

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


- Log -----------------------------------------------------------------
commit ee4810099c2d26a0ebab3c41a95bc6b57921683d
Author: Michael Adam <obnox at samba.org>
Date:   Fri Feb 29 13:35:16 2008 +0100

    Eliminate tons of build warnings on non-IPV6 system.
    
    Michael

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

Summary of changes:
 source/include/includes.h |    5 +++++
 source/lib/util_sock.c    |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/include/includes.h b/source/include/includes.h
index 269baa5..36c71d7 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -1289,4 +1289,9 @@ void exit_server_fault(void) NORETURN_ATTRIBUTE ;
 #include "libnscd.h"
 #endif
 
+#if defined(HAVE_IPV6)
+void in6_addr_to_sockaddr_storage(struct sockaddr_storage *ss,
+				  struct in6_addr ip);
+#endif
+
 #endif /* _INCLUDES_H */
diff --git a/source/lib/util_sock.c b/source/lib/util_sock.c
index a7c35c4..2a65943 100644
--- a/source/lib/util_sock.c
+++ b/source/lib/util_sock.c
@@ -370,7 +370,7 @@ void in_addr_to_sockaddr_storage(struct sockaddr_storage *ss,
  Convert an IPv6 struct in_addr to a struct sockaddr_storage.
 ********************************************************************/
 
-void in6_addr_to_sockaddr_storage(struct sockaddr_storage *ss,
+ void in6_addr_to_sockaddr_storage(struct sockaddr_storage *ss,
 		struct in6_addr ip)
 {
 	struct sockaddr_in6 *sa = (struct sockaddr_in6 *)ss;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list