ftpd: Fix RETR for small and empty files
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 2m28s
Build system / Build (pull_request) Successful in 17m22s

This commit is contained in:
Igor Shutrov
2026-01-06 00:25:45 +05:00
parent c17d1a57a3
commit a9720814f4

View File

@@ -998,7 +998,9 @@ cmdRETR:
cmp eax, -1
je .cannot_open ; FIXME: this is not the correct error
push eax
invoke con_write_asciiz, str2
pop eax
push eax ebx
mov esi, eax