Skip to content

Commit

Permalink
fix: passive callback with 3 args
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Jan 8, 2023
1 parent 9951730 commit 1a26c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quicer_stream.erl
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ handle_info({quic, passive, Stream, undefined},
#{ callback := M
, callback_state := CBState} = State) ->
?tp(debug, #{module=>?MODULE, event => passive}),
default_cb_ret(M:passive(Stream, CBState), State);
default_cb_ret(M:passive(Stream, undefined, CBState), State);
handle_info(Info,
#{ callback := M
, callback_state := CBState} = State) ->
Expand Down

0 comments on commit 1a26c58

Please sign in to comment.