[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-775-g23bb1ee

Stefan Metzmacher metze at samba.org
Sat Mar 28 22:51:37 GMT 2009


The branch, master has been updated
       via  23bb1eedf68f1325a4993def22689cf2c8283f8d (commit)
      from  12a8ed07b43ed8dc27db396a23cd8657e419101e (commit)

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


- Log -----------------------------------------------------------------
commit 23bb1eedf68f1325a4993def22689cf2c8283f8d
Author: Stefan Metzmacher <metze at samba.org>
Date:   Sat Mar 28 23:48:45 2009 +0100

    tsocket: more s/sun/un to make the build on solaris happy
    
    metze

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

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


Changeset truncated at 500 lines:

diff --git a/lib/tsocket/tsocket_bsd.c b/lib/tsocket/tsocket_bsd.c
index f673aa6..3d13dfd 100644
--- a/lib/tsocket/tsocket_bsd.c
+++ b/lib/tsocket/tsocket_bsd.c
@@ -301,21 +301,21 @@ int _tsocket_address_unix_from_path(TALLOC_CTX *mem_ctx,
 				    struct tsocket_address **_addr,
 				    const char *location)
 {
-	struct sockaddr_un sun;
-	void *p = &sun;
+	struct sockaddr_un un;
+	void *p = &un;
 	int ret;
 
 	if (!path) {
 		path = "";
 	}
 
-	ZERO_STRUCT(sun);
-	sun.sun_family = AF_UNIX;
-	strncpy(sun.sun_path, path, sizeof(sun.sun_path));
+	ZERO_STRUCT(un);
+	un.sun_family = AF_UNIX;
+	strncpy(un.sun_path, path, sizeof(un.sun_path));
 
 	ret = _tsocket_address_bsd_from_sockaddr(mem_ctx,
 						 (struct sockaddr *)p,
-						 sizeof(sun),
+						 sizeof(un),
 						 _addr,
 						 location);
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list