loadparm: fix process_registry_shares() when there is only [global] in registry.
commitb74d6416443dd09b3460a1e36b502ad4c6b3a0a4
authorMichael Adam <obnox@samba.org>
Tue, 27 May 2008 08:59:11 +0000 (27 10:59 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 28 May 2008 08:24:59 +0000 (28 10:24 +0200)
tree5167960bd73f161ae114874a8cd6aa032fd81011
parent49d496a63a2de0907efa8eb93aca5cd75d7d81ec
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
source/param/loadparm.c