From: nishi Date: Wed, 7 Feb 2024 01:26:06 +0000 (+0000) Subject: bugfix X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=2c2f3a100dd393a2cf0fc9c9eb8cc747bd628979;p=libw3.git bugfix git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@181 d27a3e52-49c5-7645-884c-6793ebffc270 --- 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