[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Tue Aug 16 06:00:03 MDT 2011


The branch, master has been updated
       via  6c8ee02 s3: Use ZERO_STRUCT where appropriate
      from  ee720fc tdb: increment sequence number in tdb_wipe_all().

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


- Log -----------------------------------------------------------------
commit 6c8ee02e178145cc2ae4e4fbf0a78a0852d6a7f3
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Aug 16 12:30:58 2011 +0200

    s3: Use ZERO_STRUCT where appropriate
    
    Autobuild-User: Volker Lendecke <vlendec at samba.org>
    Autobuild-Date: Tue Aug 16 13:59:55 CEST 2011 on sn-devel-104

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

Summary of changes:
 source3/param/loadparm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 94f9da9..b0c64c7 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -4700,7 +4700,7 @@ static void init_globals(bool reinit_globals)
 	 * wipe out smb.conf options set with lp_set_cmdline().  The
 	 * apply_lp_set_cmdline() call puts these values back in the
 	 * table once the defaults are set */
-	memset((void *)&Globals, '\0', sizeof(Globals));
+	ZERO_STRUCT(Globals);
 
 	for (i = 0; parm_table[i].label; i++) {
 		if ((parm_table[i].type == P_STRING ||


-- 
Samba Shared Repository


More information about the samba-cvs mailing list