1
0
Fork 0

silence a compile warning about potential string value truncation

This commit is contained in:
jsteemann 2018-09-20 01:15:23 +02:00
parent 04846b74f5
commit 98a3fecb6a
1 changed files with 2 additions and 2 deletions

View File

@ -128,9 +128,9 @@ TRI_socket_t EndpointIp::connectSocket(const struct addrinfo* aip,
double connectTimeout,
double requestTimeout) {
char const* pErr;
char errBuf[256];
char errBuf[1080];
#ifdef _WIN32
char windowsErrorBuf[256];
char windowsErrorBuf[1080];
#endif
// set address and port