mirror of
https://github.com/samba-team/samba.git
synced 2025-02-09 09:57:48 +03:00
r26573: Fix warnings.
(This used to be commit 874f0ac0561e38a8c0ceda983f6c88c75ee29e9c)
This commit is contained in:
parent
d0ba9f0014
commit
de9c8930a6
@ -40,7 +40,7 @@ static int rr_search_callback(struct ldb_context *ldb, void *context, struct ldb
|
|||||||
{
|
{
|
||||||
struct rr_context *rr_context = talloc_get_type(context, struct rr_context);
|
struct rr_context *rr_context = talloc_get_type(context, struct rr_context);
|
||||||
struct ldb_request *orig_req = rr_context->orig_req;
|
struct ldb_request *orig_req = rr_context->orig_req;
|
||||||
int i, j, ret;
|
int i, j;
|
||||||
|
|
||||||
if (ares->type != LDB_REPLY_ENTRY) {
|
if (ares->type != LDB_REPLY_ENTRY) {
|
||||||
return rr_context->orig_req->callback(ldb, rr_context->orig_req->context, ares);
|
return rr_context->orig_req->callback(ldb, rr_context->orig_req->context, ares);
|
||||||
|
@ -30,7 +30,7 @@ struct libnet_context {
|
|||||||
/* samr connection parameters - opened handles and related properties */
|
/* samr connection parameters - opened handles and related properties */
|
||||||
struct {
|
struct {
|
||||||
struct dcerpc_pipe *pipe;
|
struct dcerpc_pipe *pipe;
|
||||||
char *name;
|
const char *name;
|
||||||
struct dom_sid *sid;
|
struct dom_sid *sid;
|
||||||
uint32_t access_mask;
|
uint32_t access_mask;
|
||||||
struct policy_handle handle;
|
struct policy_handle handle;
|
||||||
@ -41,7 +41,7 @@ struct libnet_context {
|
|||||||
/* lsa connection parameters - opened handles and related properties */
|
/* lsa connection parameters - opened handles and related properties */
|
||||||
struct {
|
struct {
|
||||||
struct dcerpc_pipe *pipe;
|
struct dcerpc_pipe *pipe;
|
||||||
char *name;
|
const char *name;
|
||||||
uint32_t access_mask;
|
uint32_t access_mask;
|
||||||
struct policy_handle handle;
|
struct policy_handle handle;
|
||||||
} lsa;
|
} lsa;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user