hermes

HTTP GET/HEAD-only web server for static content.
git clone git://git.francescosaccone.com/hermes
Log | Files | Refs | README | LICENSE

commit 3a3a5c7edc94bec2ac75acebb074d19b4bd7940b
parent 59f7c0418994c579e268ef2f65e4c4d9e462ee8f
Author: Francesco Saccone <francesco@francescosaccone.com>
Date:   Mon, 31 Mar 2025 16:14:49 +0200

fix: use 'char *' instead of 'const char *'

Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>

Diffstat:
Mfile.c | 2+-
Mfile.h | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/file.c b/file.c @@ -3,6 +3,6 @@ #include <unistd.h> int -file_exists(const char *path) { +file_exists(char *path) { return (access(path, R_OK) == 0); } diff --git a/file.h b/file.h @@ -2,6 +2,6 @@ #define FILE_H int -file_exists(const char *path); +file_exists(char *path); #endif