From bdef2e597e05c5f181bd5266fe463dbe5be8d99c Mon Sep 17 00:00:00 2001 From: Ryzee119 Date: Sat, 21 Oct 2023 14:01:23 +1030 Subject: [PATCH] ftp: Fix directory list on DVD drive --- src/libs/ftpd/ftp_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/ftpd/ftp_file.c b/src/libs/ftpd/ftp_file.c index 0f5f696..c4abcc6 100644 --- a/src/libs/ftpd/ftp_file.c +++ b/src/libs/ftpd/ftp_file.c @@ -50,6 +50,7 @@ static char *get_win_path(const char *in, char* out) { out[0] = out[1]; out[1] = ':'; + out[2] = '\\'; } #endif return out;