summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Müller <lmuelle@samba.org>2007-09-08 13:53:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:36 -0500
commit9fa56b9ae9df53b60ff76f4ce08d720ff9a6fc36 (patch)
treed3b8ce76641fab95eff87a1971fa33cea33f3831
parentde708c344ac60f233ba4d318dc3b9ea047a2aae3 (diff)
downloadsamba-9fa56b9ae9df53b60ff76f4ce08d720ff9a6fc36.tar.gz
samba-9fa56b9ae9df53b60ff76f4ce08d720ff9a6fc36.tar.bz2
samba-9fa56b9ae9df53b60ff76f4ce08d720ff9a6fc36.zip
r25030: ip_srv_nonsite and count_nonsite are initialized in get_kdc_list() in any
case. (This used to be commit 287604a1c7dc7dede4b278de92ad8233f597d0b6)
-rw-r--r--source3/libads/kerberos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c
index 1b5ec88dcf..62a4f84e10 100644
--- a/source3/libads/kerberos.c
+++ b/source3/libads/kerberos.c
@@ -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));