From: Nishi <nishi@nishi.boats>
Date: Mon, 23 Sep 2024 11:12:46 +0000 (+0000)
Subject: do not chdir
X-Git-Url: http://10.11.0.4:5575/?a=commitdiff_plain;h=d167b0985a6a22d2615cdd28e0af45b81c66fe5e;p=tewi.git

do not chdir

git-svn-id: file:///raid/svn-personal/tewi/trunk@138 8739d7e6-ffea-ec47-b151-bdff447c6205
---

diff --git a/Server/config.c b/Server/config.c
index 5fdf216..56b3c2d 100644
--- a/Server/config.c
+++ b/Server/config.c
@@ -91,7 +91,6 @@ void tw_config_init(void) {
 	config.server_root = cm_strdup(PREFIX);
 	config.server_admin = cm_strdup(SERVER_ADMIN);
 	gethostname(config.hostname, 1024);
-	chdir(config.server_root);
 }
 
 int tw_config_read(const char* path) {
diff --git a/Server/tw_version.h b/Server/tw_version.h
index 7ef9f5c..303ff04 100644
--- a/Server/tw_version.h
+++ b/Server/tw_version.h
@@ -3,7 +3,7 @@
 #ifndef __TW_VERSION_H__
 #define __TW_VERSION_H__
 
-#define TW_VERSION "1.05\0"
+#define TW_VERSION "1.05A\0"
 
 const char* tw_get_version(void);
 const char* tw_get_platform(void);