summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2016-07-26 12:42:49 +0200
committerStefan Metzmacher <metze@samba.org>2016-07-26 23:48:19 +0200
commit9e676b25ddf562b7abbdc7a0193b20f7ca980986 (patch)
tree4a7935d5275ac1eae0398bc89df3252a1694584b /source4
parentadd64427fd0364e849bea0c28e7f962b085e2aa9 (diff)
downloadsamba-9e676b25ddf562b7abbdc7a0193b20f7ca980986.tar.gz
dsdb: Fix CID 1364520 Incorrect expression (EVALUATION_ORDER)
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 26 23:48:19 CEST 2016 on sn-devel-144
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/password_hash.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c
index a6131e2880b..bb8679c79aa 100644
--- a/source4/dsdb/samdb/ldb_modules/password_hash.c
+++ b/source4/dsdb/samdb/ldb_modules/password_hash.c
@@ -2215,9 +2215,8 @@ static int setup_password_fields(struct setup_password_fields_io *io)
static int setup_smartcard_reset(struct setup_password_fields_io *io)
{
struct ldb_context *ldb = ldb_module_get_ctx(io->ac->module);
- struct loadparm_context *lp_ctx =
- lp_ctx = talloc_get_type(ldb_get_opaque(ldb, "loadparm"),
- struct loadparm_context);
+ struct loadparm_context *lp_ctx = talloc_get_type(
+ ldb_get_opaque(ldb, "loadparm"), struct loadparm_context);
struct supplementalCredentialsBlob scb = { .__ndr_size = 0 };
enum ndr_err_code ndr_err;