rpc_server: fix a typo
authorVolker Lendecke <vl@samba.org>
Sun, 27 Oct 2013 14:19:09 +0000 (15:19 +0100)
committerAndreas Schneider <asn@samba.org>
Mon, 28 Oct 2013 07:26:42 +0000 (08:26 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/rpc_server/rpc_ep_register.c

index 96a3705faa2b1121bacd05217ac1f5e4b14e5cbe..d840c2e09e369e68ccaa3231ba60e4679cd9a3ec 100644 (file)
@@ -35,7 +35,7 @@ static NTSTATUS rpc_ep_try_register(TALLOC_CTX *mem_ctx,
                                    const struct dcerpc_binding_vector *v,
                                    struct dcerpc_binding_handle **pbh);
 
-struct rpc_ep_regsiter_state {
+struct rpc_ep_register_state {
        struct dcerpc_binding_handle *h;
 
        TALLOC_CTX *mem_ctx;
@@ -53,10 +53,10 @@ NTSTATUS rpc_ep_register(struct tevent_context *ev_ctx,
                         const struct ndr_interface_table *iface,
                         const struct dcerpc_binding_vector *v)
 {
-       struct rpc_ep_regsiter_state *state;
+       struct rpc_ep_register_state *state;
        struct tevent_req *req;
 
-       state = talloc(ev_ctx, struct rpc_ep_regsiter_state);
+       state = talloc(ev_ctx, struct rpc_ep_register_state);
        if (state == NULL) {
                return NT_STATUS_NO_MEMORY;
        }
@@ -98,8 +98,8 @@ static void rpc_ep_monitor_loop(struct tevent_req *subreq);
 
 static void rpc_ep_register_loop(struct tevent_req *subreq)
 {
-       struct rpc_ep_regsiter_state *state =
-               tevent_req_callback_data(subreq, struct rpc_ep_regsiter_state);
+       struct rpc_ep_register_state *state =
+               tevent_req_callback_data(subreq, struct rpc_ep_register_state);
        NTSTATUS status;
        bool ok;
 
@@ -178,8 +178,8 @@ static NTSTATUS rpc_ep_try_register(TALLOC_CTX *mem_ctx,
  */
 static void rpc_ep_monitor_loop(struct tevent_req *subreq)
 {
-       struct rpc_ep_regsiter_state *state =
-               tevent_req_callback_data(subreq, struct rpc_ep_regsiter_state);
+       struct rpc_ep_register_state *state =
+               tevent_req_callback_data(subreq, struct rpc_ep_register_state);
        struct policy_handle entry_handle;
        struct dcerpc_binding map_binding;
        struct epm_twr_p_t towers[10];