From e928ce51bd8c26742abfd537b054483a18a9689c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 30 Jun 2023 02:37:27 +0200 Subject: show git hash with --version Also, use cmake's configure_file to build string constants in. --- src/worker.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/worker.h') diff --git a/src/worker.h b/src/worker.h index 8eb325c..67402a9 100644 --- a/src/worker.h +++ b/src/worker.h @@ -9,8 +9,8 @@ #define __WORKER_H__ struct settings { - char *host; - char *port; + const char *host; + const char *port; }; struct worker; -- cgit v1.2.3