diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-11-22 14:59:06 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-11-22 14:59:06 +0100 |
commit | d1cad18f010b3e6f7c0e1ced22b48411b3e616f3 (patch) | |
tree | bf2dc49cd75699298226642ed5d06363ee4743ae | |
parent | a8dd0e133719593206d19bbca4d94a5d5070f0d7 (diff) | |
download | weechat-d1cad18f010b3e6f7c0e1ced22b48411b3e616f3.zip |
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.
-rw-r--r-- | src/plugins/plugin-api-info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/plugin-api-info.c b/src/plugins/plugin-api-info.c index b37fcc44e..21b373c42 100644 --- a/src/plugins/plugin-api-info.c +++ b/src/plugins/plugin-api-info.c @@ -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; |