ftpd: Fix RETR for small and empty files

This commit is contained in:
Igor Shutrov
2026-01-06 00:25:45 +05:00
committed by Burer
parent 10d9e9f36f
commit 000288ce8b

View File

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