summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-09 14:19:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:55 -0500
commit39212a4960059905c7b976793f2e306163bf9918 (patch)
tree094f1be5cab92ec596cdd43cf23a48dc4dee77cc /source4/lib/ldb
parent374da729dd88507e4408f083294db3d2012d5cef (diff)
downloadsamba-39212a4960059905c7b976793f2e306163bf9918.tar.gz
samba-39212a4960059905c7b976793f2e306163bf9918.tar.bz2
samba-39212a4960059905c7b976793f2e306163bf9918.zip
r12790: fix compiler warning
metze (This used to be commit c65ebc8b5574f9bd05270964dee9d4882e2d1828)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/tools/cmdline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/tools/cmdline.c b/source4/lib/ldb/tools/cmdline.c
index bac444fe75..d1ad79b7f6 100644
--- a/source4/lib/ldb/tools/cmdline.c
+++ b/source4/lib/ldb/tools/cmdline.c
@@ -144,7 +144,7 @@ struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const
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) {