svn commit: samba r12273 - branches/SAMBA_3_0/source/nsswitch trunk/source/nsswitch

gd at samba.org gd at samba.org
Fri Dec 16 00:01:17 GMT 2005


Author: gd
Date: 2005-12-16 00:01:15 +0000 (Fri, 16 Dec 2005)
New Revision: 12273

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12273

Log:
Fix copy paste error.

Guenther

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_sid.c
   trunk/source/nsswitch/winbindd_sid.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_sid.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_sid.c	2005-12-15 23:33:29 UTC (rev 12272)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_sid.c	2005-12-16 00:01:15 UTC (rev 12273)
@@ -83,10 +83,10 @@
 	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());

Modified: trunk/source/nsswitch/winbindd_sid.c
===================================================================
--- trunk/source/nsswitch/winbindd_sid.c	2005-12-15 23:33:29 UTC (rev 12272)
+++ trunk/source/nsswitch/winbindd_sid.c	2005-12-16 00:01:15 UTC (rev 12273)
@@ -83,10 +83,10 @@
 	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());



More information about the samba-cvs mailing list