Skip to content

Commit

Permalink
fix: get right arg when open connection
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Oct 11, 2023
1 parent 702fac4 commit 08db52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_src/quicer_connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ open_connectionX(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[])
ERL_NIF_TERM res = ERROR_TUPLE_2(ATOM_ERROR_INTERNAL_ERROR);
QuicerRegistrationCTX *r_ctx = NULL;
HQUIC registration = NULL;
ERL_NIF_TERM options = argv[1];
ERL_NIF_TERM options = argv[0];

if (argc == 0)
{
Expand Down

0 comments on commit 08db52b

Please sign in to comment.