1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 15:26:37 +02:00

core: increase buffer size in function plugin_api_info_uptime_cb

This fixes a compiler warning complaining about a too small buffer for
snprintf, even if this should never happen.
This commit is contained in:
Sébastien Helleu
2020-11-22 14:59:06 +01:00
parent a8dd0e1337
commit d1cad18f01
+1 -1
View File
@@ -723,7 +723,7 @@ plugin_api_info_uptime_cb (const void *pointer, void *data,
const char *info_name,
const char *arguments)
{
char value[32];
char value[128];
time_t total_seconds;
int days, hours, minutes, seconds;