From f6e81060763f238ab32b95c6cbe069ae8234ba19 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 16 Dec 2005 00:01:15 +0000 Subject: r12273: Fix copy paste error. Guenther (This used to be commit 266f5fc9af6a07bc1f1432e716e6c528e9048533) --- source3/nsswitch/winbindd_sid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/nsswitch/winbindd_sid.c') diff --git a/source3/nsswitch/winbindd_sid.c b/source3/nsswitch/winbindd_sid.c index 2685e98555..fc878cb5cc 100644 --- a/source3/nsswitch/winbindd_sid.c +++ b/source3/nsswitch/winbindd_sid.c @@ -83,10 +83,10 @@ void winbindd_lookupname(struct winbindd_cli_state *state) char *p; /* Ensure null termination */ - state->request.data.sid[sizeof(state->request.data.name.dom_name)-1]='\0'; + state->request.data.name.dom_name[sizeof(state->request.data.name.dom_name)-1]='\0'; /* Ensure null termination */ - state->request.data.sid[sizeof(state->request.data.name.name)-1]='\0'; + state->request.data.name.name[sizeof(state->request.data.name.name)-1]='\0'; /* cope with the name being a fully qualified name */ p = strstr(state->request.data.name.name, lp_winbind_separator()); -- cgit