1
0
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:
Gerald Carter
2006-02-08 15:09:09 +00:00
committed by Gerald (Jerry) Carter
parent e0c4e5cfde
commit 6c4ede6cee
4 changed files with 5 additions and 4 deletions

View File

@@ -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++ );