1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r25030: ip_srv_nonsite and count_nonsite are initialized in get_kdc_list() in any

case.
(This used to be commit 287604a1c7)
This commit is contained in:
Lars Müller 2007-09-08 13:53:08 +00:00 committed by Gerald (Jerry) Carter
parent de708c344a
commit 9fa56b9ae9

View File

@ -618,9 +618,9 @@ static char *get_kdc_ip_string(char *mem_ctx, const char *realm, const char *sit
{
int i;
struct ip_service *ip_srv_site = NULL;
struct ip_service *ip_srv_nonsite = NULL;
struct ip_service *ip_srv_nonsite;
int count_site = 0;
int count_nonsite = 0;
int count_nonsite;
char *kdc_str = talloc_asprintf(mem_ctx, "\tkdc = %s\n",
inet_ntoa(primary_ip));