svn commit: samba r12790 - in branches/SAMBA_4_0/source/lib/ldb/tools: .

metze at samba.org metze at samba.org
Mon Jan 9 14:19:25 GMT 2006


Author: metze
Date: 2006-01-09 14:19:24 +0000 (Mon, 09 Jan 2006)
New Revision: 12790

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

Log:
fix compiler warning

metze
Modified:
   branches/SAMBA_4_0/source/lib/ldb/tools/cmdline.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tools/cmdline.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tools/cmdline.c	2006-01-09 13:04:08 UTC (rev 12789)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/cmdline.c	2006-01-09 14:19:24 UTC (rev 12790)
@@ -144,7 +144,7 @@
 			const char *p;
 			int cc;
 
-			for (p = cs, cc = 1; p = strchr(p, ','); cc++) ;
+			for (p = cs, cc = 1; (p = strchr(p, ',')); cc++) ;
 
 			options.controls = talloc_array(ret, char *, cc + 1);
 			if (options.controls == NULL) {



More information about the samba-cvs mailing list