From 000288ce8b2d58d47e8ebc792d83c4eee36a7525 Mon Sep 17 00:00:00 2001 From: Igor Shutrov Date: Tue, 6 Jan 2026 00:25:45 +0500 Subject: [PATCH] ftpd: Fix RETR for small and empty files --- programs/network/ftpd/commands.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/programs/network/ftpd/commands.inc b/programs/network/ftpd/commands.inc index e1cc5560b..85bff4cd9 100644 --- a/programs/network/ftpd/commands.inc +++ b/programs/network/ftpd/commands.inc @@ -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