diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-08-27 15:13:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:34:41 -0500 |
commit | 7e3838dd2d8647e9c621a08c61a2a22ef1d94bb2 (patch) | |
tree | 221d336d855546df8be8ececffb2e4aea013131c /source4/lib/ldb/tools | |
parent | e3dcc92deef81972a6f38bdbab75256d3d038357 (diff) | |
download | samba-7e3838dd2d8647e9c621a08c61a2a22ef1d94bb2.tar.gz samba-7e3838dd2d8647e9c621a08c61a2a22ef1d94bb2.tar.bz2 samba-7e3838dd2d8647e9c621a08c61a2a22ef1d94bb2.zip |
r9685: Add tests for samba3sam mapping module
Fix a couple of bugs
Move samba3sam backend to lib/ldb/
Remove some more unused parameters
(This used to be commit 7f864d446d6af7cfd9fb8dbc496a29b36ec57ce9)
Diffstat (limited to 'source4/lib/ldb/tools')
-rw-r--r-- | source4/lib/ldb/tools/cmdline.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/ldb/tools/cmdline.c b/source4/lib/ldb/tools/cmdline.c index cde357a088..fb0292b7d9 100644 --- a/source4/lib/ldb/tools/cmdline.c +++ b/source4/lib/ldb/tools/cmdline.c @@ -124,13 +124,14 @@ struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const case 'o': options.options = talloc_realloc(ret, options.options, - const char *, num_options+2); + const char *, num_options+3); if (options.options == NULL) { ldb_oom(ldb); goto failed; } - options.options[num_options++] = poptGetOptArg(pc); + options.options[num_options] = poptGetOptArg(pc); options.options[num_options+1] = NULL; + num_options++; break; default: |