diff options
author | Gerald Carter <jerry@samba.org> | 2006-02-08 15:09:09 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2006-02-08 15:09:09 +0000 |
commit | 822f43484bd9d92fb03d6988b89b234e61a53e35 (patch) | |
tree | 49d4f733ce8201d7fffef2ef6afdc031dbbd997f /source/services | |
parent | 74910ea3fa871a15aff547dd1ffd9fee5bf734ca (diff) | |
download | samba-822f43484bd9d92fb03d6988b89b234e61a53e35.tar.gz samba-822f43484bd9d92fb03d6988b89b234e61a53e35.tar.xz samba-822f43484bd9d92fb03d6988b89b234e61a53e35.zip |
r13393: Do not initialize the lp_svcctl_list() value since it is handled
internally in services_db.c now. This prevents internal services from
being listed twice (one internal and one external) when no
'svcctl list' parameter is explcitly set in smb.conf
Diffstat (limited to 'source/services')
-rw-r--r-- | source/services/services_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/services/services_db.c b/source/services/services_db.c index a16657c0edc..6c38c6ed0a9 100644 --- a/source/services/services_db.c +++ b/source/services/services_db.c @@ -436,7 +436,7 @@ void svcctl_init_keys( void ) for ( i=0; builtin_svcs[i].servicename; i++ ) add_new_svc_name( key, subkeys, builtin_svcs[i].servicename ); - for ( i=0; service_list[i]; i++ ) { + for ( i=0; service_list && service_list[i]; i++ ) { /* only add new services */ if ( regsubkey_ctr_key_exists( subkeys, service_list[i] ) ) |