mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-09 12:50:18 +02: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
@ -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…
x
Reference in New Issue
Block a user