]> Git repositories of Nishi - tewi.git/commitdiff
winxp patch
authorNishi <nishi@nishi.boats>
Sun, 22 Sep 2024 14:00:22 +0000 (14:00 +0000)
committerNishi <nishi@nishi.boats>
Sun, 22 Sep 2024 14:00:22 +0000 (14:00 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@124 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/server.c
Server/tw_version.h

index 4a4857ca76d6744ac9bb8768999a2f45de20a394..2d21175860a721b6a33a778653792f67f2eee242 100644 (file)
@@ -557,7 +557,7 @@ int32_t tw_server_pass(void* ptr) {
                        for(i = 0; i < sizeof(reserved_names) / sizeof(reserved_names[0]); i++) {
                                char* n = cm_strcat("/", reserved_names[i]);
                                if(cm_nocase_endswith(rpath, n)) {
-                                       tw_http_error(s, sock, 403, name, port);
+                                       tw_http_error(s, sock, 403, name, port, vhost_entry);
                                        free(n);
                                        rej = true;
                                        cm_log("Server", "XP Patch ; rejecting access to device");
index fb05dca441b4efeeff9c606966b6b0b4825cb45c..e6d133507e51520806ea542964fafa65604181a0 100644 (file)
@@ -3,7 +3,7 @@
 #ifndef __TW_VERSION_H__
 #define __TW_VERSION_H__
 
-#define TW_VERSION "1.03\0"
+#define TW_VERSION "1.03A\0"
 
 const char* tw_get_version(void);
 const char* tw_get_platform(void);