Skip to content

Commit

Permalink
ctl: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov authored and miconda committed Dec 28, 2022
1 parent 972176b commit 3b39da4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/ctl/binrpc.h
Expand Up @@ -912,7 +912,7 @@ inline static unsigned char* binrpc_read_struct(struct binrpc_parse_ctx* ctx,
p+=len; /* len should be 0 for a struct tag */
in_struct=1;
v->type=type;
v->u.strval.s=(char*)p; /* it will conain the inside of the struc */
v->u.strval.s=(char*)p; /* it will contain the inside of the struc */
while(in_struct){
/* read name */
type=*p & 0xf;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/ctl/fifo_server.c
Expand Up @@ -171,7 +171,7 @@ int fifo_reply_retries = DEFAULT_REPLY_RETRIES;
int fifo_reply_wait = DEFAULT_REPLY_WAIT;


static rpc_t func_param; /* Pointers to implementation of RPC funtions */
static rpc_t func_param; /* Pointers to implementation of RPC functions */

static int rpc_send (rpc_ctx_t* ctx); /* Send the reply to the client */
static void rpc_fault (rpc_ctx_t* ctx, int code, char* fmt, ...); /* Signal a failure to the client */
Expand Down

0 comments on commit 3b39da4

Please sign in to comment.