diff options
author | Nadezhda Ivanova <nadezhda.ivanova@postpath.com> | 2009-11-22 13:36:35 +0200 |
---|---|---|
committer | Nadezhda Ivanova <nadezhda.ivanova@postpath.com> | 2009-11-22 13:36:35 +0200 |
commit | 54991cd2e15b797360c112c801b98ec24188da9e (patch) | |
tree | 07182661007f8f541c5468ce1b94128c168ad203 | |
parent | e28545e85472c630244205f5c3fae4956089daa3 (diff) | |
download | samba-54991cd2e15b797360c112c801b98ec24188da9e.tar.gz samba-54991cd2e15b797360c112c801b98ec24188da9e.tar.bz2 samba-54991cd2e15b797360c112c801b98ec24188da9e.zip |
Fixed incorrect indentation.
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/descriptor.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/descriptor.c b/source4/dsdb/samdb/ldb_modules/descriptor.c index c3413e1584..f9992e3c9e 100644 --- a/source4/dsdb/samdb/ldb_modules/descriptor.c +++ b/source4/dsdb/samdb/ldb_modules/descriptor.c @@ -537,12 +537,12 @@ static int descriptor_search_callback(struct ldb_request *req, struct ldb_reply } sd_control = ldb_request_get_control(ac->req, LDB_CONTROL_SD_FLAGS_OID); - if (sd_control) { - struct ldb_sd_flags_control *sdctr = (struct ldb_sd_flags_control *)sd_control->data; - sd_flags = sdctr->secinfo_flags; - /* we only care for the last 4 bits */ - sd_flags = sd_flags & 0x0000000F; - } + if (sd_control) { + struct ldb_sd_flags_control *sdctr = (struct ldb_sd_flags_control *)sd_control->data; + sd_flags = sdctr->secinfo_flags; + /* we only care for the last 4 bits */ + sd_flags = sd_flags & 0x0000000F; + } switch (ares->type) { case LDB_REPLY_ENTRY: @@ -572,7 +572,6 @@ static int descriptor_search_callback(struct ldb_request *req, struct ldb_reply break; case LDB_REPLY_DONE: - return ldb_module_done(ac->req, ares->controls, ares->response, ares->error); } |