svn commit: samba r2059 - branches/SAMBA_4_0/source/rpc_server/samr

metze at samba.org metze at samba.org
Wed Aug 25 08:58:12 GMT 2004


Author: metze
Date: 2004-08-25 08:58:12 +0000 (Wed, 25 Aug 2004)
New Revision: 2059

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=2059&nolog=1

Log:
abartlet: is there a better way to fix this compiler warning
(the same problem as in -r 2056)

metze

Modified:
   branches/SAMBA_4_0/source/rpc_server/samr/samdb.c


Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/samr/samdb.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/samr/samdb.c	2004-08-25 08:31:48 UTC (rev 2058)
+++ branches/SAMBA_4_0/source/rpc_server/samr/samdb.c	2004-08-25 08:58:12 UTC (rev 2059)
@@ -602,7 +602,7 @@
 	
 
 	/* pull the template record */
-	ret = samdb_search(ctx, mem_ctx, NULL, &res, NULL, expression);
+	ret = samdb_search(ctx, mem_ctx, NULL, &res, NULL, "%s", expression);
 	if (ret != 1) {
 		DEBUG(1,("samdb: ERROR: template '%s' matched %d records\n", 
 			 expression, ret));



More information about the samba-cvs mailing list