diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-03 09:23:00 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-03 09:23:00 +0100 |
commit | 5516191e7251c9f47a81702e3199b1af9c099f72 (patch) | |
tree | ca5eba8f274a4bd2d8d5bdf888ab5972cdb33915 | |
parent | cb9d048f90a2d1da7134ea7026be3a1a5574a920 (diff) | |
download | samba-5516191e7251c9f47a81702e3199b1af9c099f72.tar.gz samba-5516191e7251c9f47a81702e3199b1af9c099f72.tar.bz2 samba-5516191e7251c9f47a81702e3199b1af9c099f72.zip |
s4:RPC server - cosmetic fixes - indentation, comments
-rw-r--r-- | source4/rpc_server/common/reply.c | 3 | ||||
-rw-r--r-- | source4/rpc_server/dcerpc_server.c | 4 | ||||
-rw-r--r-- | source4/rpc_server/dcesrv_auth.c | 9 |
3 files changed, 9 insertions, 7 deletions
diff --git a/source4/rpc_server/common/reply.c b/source4/rpc_server/common/reply.c index d883317d6e..e5d97d17d1 100644 --- a/source4/rpc_server/common/reply.c +++ b/source4/rpc_server/common/reply.c @@ -206,7 +206,8 @@ _PUBLIC_ NTSTATUS dcesrv_reply(struct dcesrv_call_state *call) length = MIN(chunk_size, stub.length); /* form the dcerpc response packet */ - dcesrv_init_hdr(&pkt, lpcfg_rpc_big_endian(call->conn->dce_ctx->lp_ctx)); + dcesrv_init_hdr(&pkt, + lpcfg_rpc_big_endian(call->conn->dce_ctx->lp_ctx)); pkt.auth_length = 0; pkt.call_id = call->pkt.call_id; pkt.ptype = DCERPC_PKT_RESPONSE; diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c index 0dc00e524a..061d8e80b2 100644 --- a/source4/rpc_server/dcerpc_server.c +++ b/source4/rpc_server/dcerpc_server.c @@ -1046,8 +1046,8 @@ NTSTATUS dcesrv_process_ncacn_packet(struct dcesrv_connection *dce_conn, return dcesrv_fault(call2, DCERPC_FAULT_OTHER); } - /* this is a continuation of an existing call - find the call then - tack it on the end */ + /* this is a continuation of an existing call - find the call + then tack it on the end */ call = dcesrv_find_fragmented_call(dce_conn, call2->pkt.call_id); if (!call) { return dcesrv_fault(call2, DCERPC_FAULT_OTHER); diff --git a/source4/rpc_server/dcesrv_auth.c b/source4/rpc_server/dcesrv_auth.c index c7f3cdecc1..4c91fcb392 100644 --- a/source4/rpc_server/dcesrv_auth.c +++ b/source4/rpc_server/dcesrv_auth.c @@ -395,8 +395,8 @@ bool dcesrv_auth_response(struct dcesrv_call_state *call, case DCERPC_AUTH_LEVEL_CONNECT: /* - * TODO: let the gensec mech decide if it wants to generate a signature - * that might be needed for schannel... + * TODO: let the gensec mech decide if it wants to generate a + * signature that might be needed for schannel... */ status = ncacn_push_auth(blob, call, pkt, NULL); return NT_STATUS_IS_OK(status); @@ -430,7 +430,8 @@ bool dcesrv_auth_response(struct dcesrv_call_state *call, of the stub */ dce_conn->auth_state.auth_info->auth_pad_length = (16 - (pkt->u.response.stub_and_verifier.length & 15)) & 15; - ndr_err = ndr_push_zero(ndr, dce_conn->auth_state.auth_info->auth_pad_length); + ndr_err = ndr_push_zero(ndr, + dce_conn->auth_state.auth_info->auth_pad_length); if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { return false; } @@ -443,7 +444,7 @@ bool dcesrv_auth_response(struct dcesrv_call_state *call, /* add the auth verifier */ ndr_err = ndr_push_dcerpc_auth(ndr, NDR_SCALARS|NDR_BUFFERS, - dce_conn->auth_state.auth_info); + dce_conn->auth_state.auth_info); if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { return false; } |