mirror of https://gitee.com/bigwinds/arangodb
silence a compile warning about potential string value truncation
This commit is contained in:
parent
04846b74f5
commit
98a3fecb6a
|
@ -128,9 +128,9 @@ TRI_socket_t EndpointIp::connectSocket(const struct addrinfo* aip,
|
||||||
double connectTimeout,
|
double connectTimeout,
|
||||||
double requestTimeout) {
|
double requestTimeout) {
|
||||||
char const* pErr;
|
char const* pErr;
|
||||||
char errBuf[256];
|
char errBuf[1080];
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
char windowsErrorBuf[256];
|
char windowsErrorBuf[1080];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// set address and port
|
// set address and port
|
||||||
|
|
Loading…
Reference in New Issue