From 2c2f3a100dd393a2cf0fc9c9eb8cc747bd628979 Mon Sep 17 00:00:00 2001 From: nishi Date: Wed, 7 Feb 2024 01:26:06 +0000 Subject: [PATCH] bugfix git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@181 d27a3e52-49c5-7645-884c-6793ebffc270 --- Library/Tcl.c | 1 - W3Version.h.p | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Tcl.c b/Library/Tcl.c index 03c58a5..4dacf06 100644 --- a/Library/Tcl.c +++ b/Library/Tcl.c @@ -20,7 +20,6 @@ void tcl_w3_data_handler(struct W3* w3, char* data, size_t size) { for(i = 0; __dictionary[i] != NULL; i += 2) { if(__dictionary[i + 1] == w3) { if(w3->tcl_data != NULL) { - write(1, data, size); Tcl_ObjSetVar2(w3->tcl_in, Tcl_NewStringObj("event_size", 10), NULL, Tcl_NewLongObj(size), 0); char* data1 = malloc(size + 1); memcpy(data1, data, size); diff --git a/W3Version.h.p b/W3Version.h.p index 8388dfe..a9bb93e 100644 --- a/W3Version.h.p +++ b/W3Version.h.p @@ -6,7 +6,7 @@ extern "C" { #endif -#define LIBW3_VERSION "2.3C" \ +#define LIBW3_VERSION "2.3D" \ SUFFIX #ifdef __cplusplus -- 2.43.0