mirror of
https://github.com/samba-team/samba.git
synced 2025-12-12 12:23:50 +03:00
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
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
e0c4e5cfde
commit
6c4ede6cee
@@ -1852,6 +1852,9 @@ int str_list_count( const char **list )
|
||||
{
|
||||
int i = 0;
|
||||
|
||||
if ( ! list )
|
||||
return 0;
|
||||
|
||||
/* count the number of list members */
|
||||
|
||||
for ( i=0; *list; i++, list++ );
|
||||
|
||||
Reference in New Issue
Block a user