svn commit: samba r17530 - in branches/SAMBA_4_0/source/dsdb/samdb: .

abartlet at samba.org abartlet at samba.org
Mon Aug 14 03:28:26 GMT 2006


Author: abartlet
Date: 2006-08-14 03:28:25 +0000 (Mon, 14 Aug 2006)
New Revision: 17530

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

Log:
Watching the build farm mails carefully pays off...

This was another declaration before statement bug, in my just-committed code..

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/dsdb/samdb/samdb.c


Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/samdb/samdb.c
===================================================================
--- branches/SAMBA_4_0/source/dsdb/samdb/samdb.c	2006-08-14 02:50:18 UTC (rev 17529)
+++ branches/SAMBA_4_0/source/dsdb/samdb/samdb.c	2006-08-14 03:28:25 UTC (rev 17530)
@@ -680,11 +680,10 @@
 	struct ldb_result *res;
 	struct ldb_message *t;
 	int ret, i, j;
-
-	*errstring = NULL;
-	
 	struct ldb_dn *basedn = ldb_dn_explode(ldb, "cn=Templates");
 
+	*errstring = NULL;	
+
 	/* pull the template record */
 	ret = ldb_search(ldb, basedn, LDB_SCOPE_SUBTREE, filter, NULL, &res);
 	talloc_free(basedn);



More information about the samba-cvs mailing list