librb: Fix GCC 8 warning; 640 bytes should be enough
This commit is contained in:
parent
e89a399f94
commit
c4c1bf3b79
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ extern const char *librb_serno;
|
|||
const char *
|
||||
rb_lib_version(void)
|
||||
{
|
||||
static char version_info[512];
|
||||
static char version_info[640];
|
||||
char ssl_info[512];
|
||||
rb_get_ssl_info(ssl_info, sizeof(ssl_info));
|
||||
snprintf(version_info, sizeof(version_info), "librb version: %s - %s", librb_serno, ssl_info);
|
||||
|
|
Loading…
Reference in a new issue