mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 14:34:49 +01:00
util: Increase buffer size to 1024 in SysErrorString
Increase the error message buffer to 1024 as recommended in the manual page (Thanks Jon Atack)
This commit is contained in:
parent
718da302c7
commit
f00fb1265a
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
|
||||
std::string SysErrorString(int err)
|
||||
{
|
||||
char buf[256];
|
||||
char buf[1024];
|
||||
/* Too bad there are three incompatible implementations of the
|
||||
* thread-safe strerror. */
|
||||
const char *s = nullptr;
|
||||
|
|
Loading…
Add table
Reference in a new issue