Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pattern matching mistake in file_open #19

Merged
merged 1 commit into from
Jun 3, 2023
Merged

Fix pattern matching mistake in file_open #19

merged 1 commit into from
Jun 3, 2023

Conversation

avdgaag
Copy link
Contributor

@avdgaag avdgaag commented Jun 3, 2023

It would appear the mist_ffi.file_open would always return an unknown_file_error since it tries to match the success case on {ok, fd} rather than {ok, Fd}. With this fix, things seem to work smoothly.

@rawhat
Copy link
Owner

rawhat commented Jun 3, 2023

🤦‍♂️ thank you!

@rawhat rawhat merged commit 95e1580 into rawhat:master Jun 3, 2023
1 check passed
@avdgaag avdgaag deleted the fix-file-open branch June 3, 2023 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants