loadparm: fix process_registry_shares() when there is only [global] in registry.
authorMichael Adam <obnox@samba.org>
Tue, 27 May 2008 08:59:11 +0000 (10:59 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 10 Jul 2008 21:34:05 +0000 (23:34 +0200)
commitefb9a844e74b91d63fda98fa9cc12136bf1f172a
tree0b751ad0607cc0dfd93785518c1a35bd889d4814
parent6fd007905d4ba09309735a14635502008e082cb6
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
(cherry picked from commit 28d197220038b9a47af177b88a8587f865e45de5)
source/param/loadparm.c