git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
374da72
)
r12790: fix compiler warning
author
Stefan Metzmacher
<metze@samba.org>
Mon, 9 Jan 2006 14:19:24 +0000
(14:19 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:49:55 +0000
(13:49 -0500)
metze
(This used to be commit
c65ebc8b5574f9bd05270964dee9d4882e2d1828
)
source4/lib/ldb/tools/cmdline.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/tools/cmdline.c
b/source4/lib/ldb/tools/cmdline.c
index bac444fe75c2e6fbf68f904273f66f68b6b5ba72..d1ad79b7f6228cd7198ecf74b896f28dcaf13827 100644
(file)
--- 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) {