From 53d91b5fd451f676667ea4b7d3e60ed5d55f43a5 Mon Sep 17 00:00:00 2001 From: Nishi Date: Sun, 22 Sep 2024 13:27:20 +0000 Subject: [PATCH] fix doctype, and add viewport git-svn-id: file:///raid/svn-personal/tewi/trunk@122 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Server/server.c | 3 ++- Server/tw_version.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Server/server.c b/Server/server.c index 1a25db6..4351615 100644 --- a/Server/server.c +++ b/Server/server.c @@ -606,10 +606,11 @@ int32_t tw_server_pass(void* ptr) { char* str = malloc(1); str[0] = 0; char** items = cm_scandir(path); - addstring(&str, "\n"); + addstring(&str, "\n"); addstring(&str, "\n"); addstring(&str, " \n"); addstring(&str, " \n"); + addstring(&str, " \n"); addstring(&str, " Index of %h\n", req.path); addstring(&str, " \n"); addstring(&str, " \n"); diff --git a/Server/tw_version.h b/Server/tw_version.h index 0eedbf7..640f0db 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.02\0" +#define TW_VERSION "1.02A\0" const char* tw_get_version(void); const char* tw_get_platform(void); -- 2.45.2