From 8fa2b8180e141fa9a3a3226cfa1df20f7e55917c Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sun, 2 Jul 2006 16:48:39 +0200 Subject: [PATCH] s|/|\|g in directory listings under Windows --- src/protocol/common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/protocol/common.c b/src/protocol/common.c index 2fe2f8f6..84c3e337 100644 --- a/src/protocol/common.c +++ b/src/protocol/common.c @@ -127,7 +127,8 @@ init_directory_listing(struct string *page, struct uri *uri) || !add_char_to_string(page, sep) || !add_to_string(page, "\">") || !add_html_to_string(page, pslash, slash - pslash) - || !add_to_string(page, "/")) + || !add_to_string(page, "") + || !add_char_to_string(page, sep)) goto out_of_memory; pslash = ++slash;