svn commit: samba r9390 - in branches/SAMBA_4_0/source/lib/registry: .

tridge at samba.org tridge at samba.org
Thu Aug 18 12:21:42 GMT 2005


Author: tridge
Date: 2005-08-18 12:21:42 +0000 (Thu, 18 Aug 2005)
New Revision: 9390

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

Log:
fixed mixing of code and data

Modified:
   branches/SAMBA_4_0/source/lib/registry/reg_backend_ldb.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/registry/reg_backend_ldb.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/reg_backend_ldb.c	2005-08-18 12:19:16 UTC (rev 9389)
+++ branches/SAMBA_4_0/source/lib/registry/reg_backend_ldb.c	2005-08-18 12:21:42 UTC (rev 9390)
@@ -125,10 +125,11 @@
 
 	while(mypath) {
 		char *keyname;
-		begin = strrchr(mypath, '\\');
 		struct ldb_val val;
 		char *key;
 
+		begin = strrchr(mypath, '\\');
+
 		if (begin) keyname = begin + 1;
 		else keyname = mypath;
 



More information about the samba-cvs mailing list