Skip to content

Commit

Permalink
lwsc: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov committed Jun 18, 2023
1 parent d61cd53 commit 854e69f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/lwsc/api.h
Expand Up @@ -39,7 +39,7 @@ typedef int (*lwsc_api_request_f)(
typedef struct lwsc_api
{
int loaded;
lwsc_api_request_f request; /* send and receice data */
lwsc_api_request_f request; /* send and receive data */
} lwsc_api_t;

typedef int (*bind_lwsc_f)(lwsc_api_t *api);
Expand Down
2 changes: 1 addition & 1 deletion src/modules/lwsc/lwsc_mod.c
Expand Up @@ -545,7 +545,7 @@ static lwsc_endpoint_t *lwsc_get_endpoint(str *wsurl, str *wsproto)

ep->wsctx = lws_create_context(&ep->crtinfo);
if(!ep->wsctx) {
LM_ERR("failed to intialize context for ws url [%.*s]\n", wsurl->len,
LM_ERR("failed to initialize context for ws url [%.*s]\n", wsurl->len,
wsurl->s);
goto error;
}
Expand Down

0 comments on commit 854e69f

Please sign in to comment.