[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1053-g56aae35

Stefan Metzmacher metze at samba.org
Thu Apr 16 07:31:29 GMT 2009


The branch, master has been updated
       via  56aae35a234f19eda9702ce321b92fa382a1ada6 (commit)
      from  14304fc5e5d1334328d0f181cbdd4d3a644af62b (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 56aae35a234f19eda9702ce321b92fa382a1ada6
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Apr 16 07:51:01 2009 +0200

    tsocket: fix the build without ipv6 support
    
    metze

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

Summary of changes:
 lib/tsocket/tsocket_bsd.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/tsocket/tsocket_bsd.c b/lib/tsocket/tsocket_bsd.c
index 87586e0..29097bd 100644
--- a/lib/tsocket/tsocket_bsd.c
+++ b/lib/tsocket/tsocket_bsd.c
@@ -523,9 +523,11 @@ static char *tsocket_address_bsd_string(const struct tsocket_address *addr,
 	case AF_INET:
 		prefix = "ipv4";
 		break;
+#ifdef HAVE_IPV6
 	case AF_INET6:
 		prefix = "ipv6";
 		break;
+#endif
 	default:
 		errno = EINVAL;
 		return NULL;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list