From f9f83c87556f2941d8577b920faf3725b9c570df Mon Sep 17 00:00:00 2001 From: Colum Paget Date: Tue, 29 Oct 2019 17:40:25 +0000 Subject: [PATCH] Fix for silly 'missing return' issue that leaves directory listing broken on some systems, while miraculously working on others --- common.c | 2 +- directory_listing.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common.c b/common.c index 311b814..4e3e262 100644 --- a/common.c +++ b/common.c @@ -6,7 +6,7 @@ #include "Authenticate.h" TSettings Settings; -char *Version="2.2"; +char *Version="2.3"; void SetTimezoneEnv() { diff --git a/directory_listing.c b/directory_listing.c index 9f15f94..dba7673 100644 --- a/directory_listing.c +++ b/directory_listing.c @@ -437,6 +437,7 @@ static char *DisplayDirUpload(char *HTML, HTTPSession *Session) static char *DisplayDirMkDir(char *HTML, HTTPSession *Session, int Flags) { HTML=MCatStr(HTML,"
New Folder:
",NULL); + return(HTML); }