mirror of
https://github.com/samba-team/samba.git
synced 2025-11-18 00:23:50 +03:00
r9685: Add tests for samba3sam mapping module
Fix a couple of bugs Move samba3sam backend to lib/ldb/ Remove some more unused parameters
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
4a51a31571
commit
7f864d446d
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user