From 71906a5b4e4f93ebd4c27a0d22d74aad62e14924 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 19 Mar 2003 08:23:29 +0000 Subject: [PATCH] Fix debug message not to use an uninitialized variable. Volker --- source/nsswitch/winbindd_user.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/nsswitch/winbindd_user.c b/source/nsswitch/winbindd_user.c index 06c95224ab9..6c544d7cf25 100644 --- a/source/nsswitch/winbindd_user.c +++ b/source/nsswitch/winbindd_user.c @@ -449,7 +449,6 @@ enum winbindd_result winbindd_getpwent(struct winbindd_cli_state *state) for (i = 0; i < num_users; i++) { struct getpwent_user *name_list = NULL; - fstring domain_user_name; uint32 result; /* Do we need to fetch another chunk of users? */ @@ -510,7 +509,7 @@ enum winbindd_result winbindd_getpwent(struct winbindd_cli_state *state) } else DEBUG(1, ("could not lookup domain user %s\n", - domain_user_name)); + name_list[ent->sam_entry_index].name)); } /* Out of domains */ -- 2.11.4.GIT