From d61c33d7b4669f339d142e696fbd51a7fd4aeb45 Mon Sep 17 00:00:00 2001 From: BONNAURE Olivier Date: Fri, 12 Apr 2024 15:16:13 +0200 Subject: [PATCH] remove static char to only use char --- tool/net/lfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/net/lfuncs.c b/tool/net/lfuncs.c index ceb20f5f1..7f4c7f92f 100644 --- a/tool/net/lfuncs.c +++ b/tool/net/lfuncs.c @@ -832,7 +832,7 @@ int LuaVisualizeControlCodes(lua_State *L) { int LuaUuidV4(lua_State *L) { char v[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}; - static char uuid_str[37] = {0}; + char uuid_str[37] = {0}; uuid_str[0] = v[_rand64() % 16]; uuid_str[1] = v[_rand64() % 16];