Skip to content

Commit

Permalink
Val_cons: fix argument order
Browse files Browse the repository at this point in the history
  • Loading branch information
nojb authored and ygrek committed Mar 20, 2024
1 parent 58f579f commit 47321d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion curl-helper.c
Expand Up @@ -4794,7 +4794,7 @@ static void update_extra_fds(value v_extra_fds, struct curl_waitfd *extra_fds)
for (int j = 0; j < sizeof(curlWait_table)/sizeof(curlWait_table[0]); j ++)
{
if (curlWait_table[j] & extra_fds[i].revents)
lst = Val_cons(Val_int(j), lst);
lst = Val_cons(lst, Val_int(j));
}
Store_field(v_extra_fd, 2, lst);
i ++;
Expand Down

0 comments on commit 47321d1

Please sign in to comment.