summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-12-16 00:01:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:51 -0500
commitf6e81060763f238ab32b95c6cbe069ae8234ba19 (patch)
tree619f62183701e02203cb781855e4acfb221d2f2e /source3
parent6f91e3a8629de97468357339f68d789ab01814ce (diff)
downloadsamba-f6e81060763f238ab32b95c6cbe069ae8234ba19.tar.gz
samba-f6e81060763f238ab32b95c6cbe069ae8234ba19.tar.bz2
samba-f6e81060763f238ab32b95c6cbe069ae8234ba19.zip
r12273: Fix copy paste error.
Guenther (This used to be commit 266f5fc9af6a07bc1f1432e716e6c528e9048533)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_sid.c4
1 files changed, 2 insertions, 2 deletions
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());