diff options
author | Karolin Seeger <kseeger@samba.org> | 2014-07-28 09:13:45 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-07-28 09:18:00 +0200 |
commit | fcc634b483255bedf53f3aea40334c018e13dcce (patch) | |
tree | 7d59833bd515e295e70ec188e1aa2b1436b3355c /lib/ldb/tools/ldbtest.c | |
parent | 97d7291d12e803076022d71556c792b0cd4e60e8 (diff) | |
parent | 80a1dfddf9086700a8de5fd6005a9179b0bb3d9e (diff) | |
download | samba-fcc634b483255bedf53f3aea40334c018e13dcce.tar.gz |
Merge commit 'origin/v4-1-test^' into v4-1-stablesamba-4.1.10
This was needed because of a changed commit message (fixed version number)
in v4-1-stable after generating the 'samba-4.1.9' tag.
Karolin
Signed-off-by: Karolin Seeger <kseeger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/ldb/tools/ldbtest.c')
-rw-r--r-- | lib/ldb/tools/ldbtest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ldb/tools/ldbtest.c b/lib/ldb/tools/ldbtest.c index 4e181af9d55..384624ca553 100644 --- a/lib/ldb/tools/ldbtest.c +++ b/lib/ldb/tools/ldbtest.c @@ -324,6 +324,10 @@ static void start_test_index(struct ldb_context **ldb) ldb_delete(*ldb, indexlist); msg = ldb_msg_new(NULL); + if (msg == NULL) { + printf("ldb_msg_new failed\n"); + exit(LDB_ERR_OPERATIONS_ERROR); + } msg->dn = indexlist; ldb_msg_add_string(msg, "@IDXATTR", strdup("uid")); |