mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 17:58:18 +03:00
Kernel: Fix my result propagation bug @BenWiederhake spotted
In #3001 I was trying to fix result propagation issues, and I actually just introduced another one. Luckily Ben spotted it in the diff after it was in the tree, thanks Ben!
This commit is contained in:
parent
7ebba7bf3c
commit
fe64d97001
Notes:
sideshowbarker
2024-07-19 04:09:02 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/fe64d97001a Pull-request: https://github.com/SerenityOS/serenity/pull/3049
@ -197,7 +197,7 @@ ssize_t FileDescription::get_dir_entries(u8* buffer, ssize_t size)
|
||||
});
|
||||
|
||||
if (result.is_error())
|
||||
result.error();
|
||||
return result;
|
||||
|
||||
stream.snip();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user