From eba5b05a511ce1de1c5609d11a32903b536a1b41 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 6 Jun 2023 13:00:06 +0200 Subject: [PATCH] librpc:rpc: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- librpc/rpc/dcerpc_util.c | 8 ++++---- librpc/rpc/dcerpc_util.h | 4 ++-- librpc/rpc/dcesrv_core.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/librpc/rpc/dcerpc_util.c b/librpc/rpc/dcerpc_util.c index d598ddc2273..0ecb2bff1fa 100644 --- a/librpc/rpc/dcerpc_util.c +++ b/librpc/rpc/dcerpc_util.c @@ -215,14 +215,14 @@ NTSTATUS dcerpc_pull_ncacn_packet(TALLOC_CTX *mem_ctx, * the whole data blob, so auth_data_only must be set to false * as the blob contains data+pad+auth and no just pad+auth. * -* @param pkt - The ncacn_packet strcuture +* @param pkt - The ncacn_packet structure * @param mem_ctx - The mem_ctx used to allocate dcerpc_auth elements * @param pkt_trailer - The packet trailer data, usually the trailing * auth_info blob, but in the request/response case * this is the stub_and_verifier blob. * @param auth - A preallocated dcerpc_auth *empty* structure * @param auth_length - The length of the auth trail, sum of auth header -* lenght and pkt->auth_length +* length and pkt->auth_length * @param auth_data_only - Whether the pkt_trailer includes only the auth_blob * (+ padding) or also other data. * @@ -340,7 +340,7 @@ NTSTATUS dcerpc_pull_auth_trailer(const struct ncacn_packet *pkt, } /* - * This is a workarround for a bug in old + * This is a workaround for a bug in old * Samba releases. For BIND_ACK <= 3.5.x * and for ALTER_RESP <= 4.2.x (see bug #11061) * @@ -412,7 +412,7 @@ NTSTATUS dcerpc_pull_auth_trailer(const struct ncacn_packet *pkt, /** * @brief Verify the fields in ncacn_packet header. * -* @param pkt - The ncacn_packet strcuture +* @param pkt - The ncacn_packet structure * @param ptype - The expected PDU type * @param max_auth_info - The maximum size of a possible auth trailer * @param required_flags - The required flags for the pdu. diff --git a/librpc/rpc/dcerpc_util.h b/librpc/rpc/dcerpc_util.h index a9bc7bd3832..4e49e3e8572 100644 --- a/librpc/rpc/dcerpc_util.h +++ b/librpc/rpc/dcerpc_util.h @@ -50,14 +50,14 @@ NTSTATUS dcerpc_pull_ncacn_packet(TALLOC_CTX *mem_ctx, * the whole data blob, so auth_data_only must be set to false * as the blob contains data+pad+auth and no just pad+auth. * -* @param pkt - The ncacn_packet strcuture +* @param pkt - The ncacn_packet structure * @param mem_ctx - The mem_ctx used to allocate dcerpc_auth elements * @param pkt_trailer - The packet trailer data, usually the trailing * auth_info blob, but in the request/response case * this is the stub_and_verifier blob. * @param auth - A preallocated dcerpc_auth *empty* structure * @param auth_length - The length of the auth trail, sum of auth header -* lenght and pkt->auth_length +* length and pkt->auth_length * @param auth_data_only - Whether the pkt_trailer includes only the auth_blob * (+ padding) or also other data. * diff --git a/librpc/rpc/dcesrv_core.c b/librpc/rpc/dcesrv_core.c index d0e68d585e3..09ea6812249 100644 --- a/librpc/rpc/dcesrv_core.c +++ b/librpc/rpc/dcesrv_core.c @@ -306,7 +306,7 @@ _PUBLIC_ NTSTATUS dcesrv_interface_register_b(struct dcesrv_context *dce_ctx, * listen on distinct ports, if they have one forced * in the code above with eg 'rpc server port:drsuapi = 1027' * - * If we have mulitiple endpoints on port 0, they each + * If we have multiple endpoints on port 0, they each * get an epemeral port (currently by walking up from * 1024). * -- 2.11.4.GIT