Skip to content

Commit

Permalink
fixup! Websockets over http/1.1 minor fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksey Mikhaylov <[email protected]>
  • Loading branch information
ttaym committed Apr 21, 2022
1 parent 6fe99b0 commit 73779c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions fw/gfsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,6 @@ tfw_gfsm_register_hook(int fsm_id, int prio, int state,

if (fsm_hooks[fsm_id][shift].fsm_id)
return -EBUSY;
if (!fsm_htbl[fsm_id]) {
T_ERR_NL("gfsm: fsm %d is not registered\n", fsm_id);
return -ENOENT;
}

fsm_hooks[fsm_id][shift].st0 = st0;
fsm_hooks[fsm_id][shift].fsm_id = hndl_fsm_id;
Expand Down
2 changes: 1 addition & 1 deletion fw/websocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ int
tfw_ws_msg_process(TfwConn *conn, struct sk_buff *skb)
{
int r;
TfwMsg msg;
TfwMsg msg = { 0 };

T_DBG2("%s: conn=[%p], skb=[%p]\n", __func__, conn, skb);

Expand Down

0 comments on commit 73779c5

Please sign in to comment.