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

Move the count check to be done after the fru_write call #188

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

gustavosr8
Copy link
Contributor

Since we are checking how many chars was writen and using this as diagnostics for the fru_write call, the count check must be made only if the function is called. In this way, the check must be in the same condition as the function call.

@gustavosr8 gustavosr8 added the bug label Jan 5, 2024
@gustavosr8 gustavosr8 requested a review from augustofg January 5, 2024 11:58
@gustavosr8 gustavosr8 self-assigned this Jan 5, 2024
Since we are checking how many chars was writen and using this as
diagnostics for the fru_write call, the count check must be made only if
the function is called. In this way, the check must be in the same
condition as the function call.
@augustofg augustofg force-pushed the fru_write_count_check branch from ed790cd to 555c499 Compare January 5, 2024 16:43
@augustofg
Copy link
Member

👍

@augustofg augustofg merged commit 0a6e555 into devel Jan 5, 2024
6 checks passed
@augustofg augustofg deleted the fru_write_count_check branch January 10, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants