diff options
-rw-r--r-- | source4/lib/ldb/tools/cmdline.c | 2 |
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) { |