diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-12-22 11:47:44 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-01-02 19:10:04 +0100 |
commit | 9ab7299b329e55e0a320afa9252f05639510453e (patch) | |
tree | 673d8b1690345209ecbf2352af1ea5958a4b8bf1 /lib/ldb | |
parent | 79f9a2240e310d8e1fecec67084f25be694ff3b8 (diff) | |
download | samba-9ab7299b329e55e0a320afa9252f05639510453e.tar.gz samba-9ab7299b329e55e0a320afa9252f05639510453e.tar.bz2 samba-9ab7299b329e55e0a320afa9252f05639510453e.zip |
ldb:ldb/common/ldb_controls.c - reference "err_string" variable correctly
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/ldb')
-rw-r--r-- | lib/ldb/common/ldb_controls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb/common/ldb_controls.c b/lib/ldb/common/ldb_controls.c index 5b5f3578d6..7ce4fc34af 100644 --- a/lib/ldb/common/ldb_controls.c +++ b/lib/ldb/common/ldb_controls.c @@ -1041,7 +1041,7 @@ struct ldb_control **ldb_parse_control_strings(struct ldb_context *ldb, TALLOC_C for (i = 0; control_strings[i]; i++) { ctrl[i] = ldb_parse_control_from_string(ldb, ctrl, control_strings[i]); if (ctrl[i] == NULL) { - if( ldb_errstring == NULL ) { + if (ldb_errstring(ldb) == NULL) { /* no controls matched, throw an error */ ldb_asprintf_errstring(ldb, "Invalid control name: '%s'", control_strings[i]); } |