From 1b5811aa9ada3ac6d39167926dd535ebeaa4d165 Mon Sep 17 00:00:00 2001 From: bol-van Date: Thu, 26 Feb 2026 11:01:13 +0300 Subject: [PATCH] nfqws2: silence warning --- nfq2/lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfq2/lua.c b/nfq2/lua.c index ee8702d..f0ee806 100644 --- a/nfq2/lua.c +++ b/nfq2/lua.c @@ -3727,7 +3727,7 @@ static void lua_xtime(lua_State *L, struct tm *(*timefunc)(const time_t *,struct lua_pushf_int(L,"isdst", t.tm_isdst); lua_pushf_str(L,"zone", t.tm_zone); - char s[24]; + char s[40]; snprintf(s,sizeof(s),"%02d.%02d.%04d %02d:%02d:%02d", t.tm_mday, t.tm_mon + 1, t.tm_year + 1900, t.tm_hour, t.tm_min, t.tm_sec); lua_pushf_str(L,"str", s); }