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 cf51adfbbb
commit 6471e7889b

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