[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2612-g28d1972

Michael Adam obnox at samba.org
Tue May 27 09:00:47 GMT 2008


The branch, v3-3-test has been updated
       via  28d197220038b9a47af177b88a8587f865e45de5 (commit)
      from  5d22ca00bcdf49dcb35468400ac8cc3c57808d0d (commit)

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


- Log -----------------------------------------------------------------
commit 28d197220038b9a47af177b88a8587f865e45de5
Author: Michael Adam <obnox at samba.org>
Date:   Tue May 27 10:59:11 2008 +0200

    loadparm: fix process_registry_shares() when there is only [global] in registry.
    
    This fixes testparm printing "Error loading services." when there is only
    the global section in registry and no other service definition.
    
    Michael

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

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


Changeset truncated at 500 lines:

diff --git a/source/param/loadparm.c b/source/param/loadparm.c
index c272274..a5623a2 100644
--- a/source/param/loadparm.c
+++ b/source/param/loadparm.c
@@ -6591,6 +6591,8 @@ static bool process_registry_shares(void)
 		goto done;
 	}
 
+	ret = true;
+
 	for (count = 0; count < num_shares; count++) {
 		if (strequal(service[count]->name, GLOBAL_NAME)) {
 			continue;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list