From dc65ef038279df55d5e49052eabac4eae2617ee1 Mon Sep 17 00:00:00 2001 From: Jeffrey Armstrong Date: Wed, 14 Dec 2016 09:14:39 -0500 Subject: Now compiles with Turbo C 2.0 using included makefile. Added better logging (to screen). Added supprot for opening and sending gzip'ed files if available on disk. --- httpd/httpd-fs.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 58 insertions(+), 9 deletions(-) (limited to 'httpd/httpd-fs.c') diff --git a/httpd/httpd-fs.c b/httpd/httpd-fs.c index 18d5729..a694fbc 100644 --- a/httpd/httpd-fs.c +++ b/httpd/httpd-fs.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009 Jeffrey Armstrong + * Copyright (c) 2009, 2016 Jeffrey Armstrong * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -36,17 +36,11 @@ #include #include #include +#include +#include #include "httpd-fs.h" -void change_to_backslash(char *name) -{ -int counter; - for(counter=0;counter