summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-03-19 08:36:42 +0000
committerVolker Lendecke <vlendec@samba.org>2003-03-19 08:36:42 +0000
commitb8ba9f909f2be46b9ed5f59efce6233ce0a672af (patch)
treeb180adf0919970a5f68fb2a680ec85ea579d460f
parent41fdeceb82d7607fc6f3e9b31640d5e264f8ed9a (diff)
downloadsamba-b8ba9f909f2be46b9ed5f59efce6233ce0a672af.tar.gz
samba-b8ba9f909f2be46b9ed5f59efce6233ce0a672af.tar.bz2
samba-b8ba9f909f2be46b9ed5f59efce6233ce0a672af.zip
Fix debug message not to use an uninitialized variable.
Volker (This used to be commit 80bfa7efd65af02108e3ef1e2b2952cda6dc5999)
-rw-r--r--source3/nsswitch/winbindd_user.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_user.c b/source3/nsswitch/winbindd_user.c
index ee05543d30..d2bd231918 100644
--- a/source3/nsswitch/winbindd_user.c
+++ b/source3/nsswitch/winbindd_user.c
@@ -451,7 +451,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? */
@@ -512,7 +511,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 */