diff options
author | Simo Sorce <idra@samba.org> | 2006-08-13 07:33:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:15:31 -0500 |
commit | 260868bae56194fcb98d55afc22fc66d96a303df (patch) | |
tree | 3cd922c59abe25a468693f5bb5a2b753ed54d568 /source/lib/ldb/ldb_tdb/ldb_search.c | |
parent | c57b6420aa4a220257df714aaccb016acb4bae24 (diff) | |
download | samba-260868bae56194fcb98d55afc22fc66d96a303df.tar.gz |
r17514: Simplify the way to set ldb errors and add another
helper function to set them.
Diffstat (limited to 'source/lib/ldb/ldb_tdb/ldb_search.c')
-rw-r--r-- | source/lib/ldb/ldb_tdb/ldb_search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/ldb/ldb_tdb/ldb_search.c b/source/lib/ldb/ldb_tdb/ldb_search.c index 2a3781b2f09..6a35595d524 100644 --- a/source/lib/ldb/ldb_tdb/ldb_search.c +++ b/source/lib/ldb/ldb_tdb/ldb_search.c @@ -517,7 +517,7 @@ int ltdb_search(struct ldb_module *module, struct ldb_request *req) ret = ltdb_search_full(req->handle); } if (ret != LDB_SUCCESS) { - ldb_set_errstring(module->ldb, talloc_strdup(module->ldb, "Indexed and full searches both failed!\n")); + ldb_set_errstring(module->ldb, "Indexed and full searches both failed!\n"); req->handle->state = LDB_ASYNC_DONE; req->handle->status = ret; } |