From 639169e9cc92711a10d2b699d7dbd19edb34e4cc Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 8 Apr 2011 13:03:32 -0700 Subject: [PATCH] [SIGAR-228] increase buflen for gethostbyname_r --- include/sigar_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sigar_private.h b/include/sigar_private.h index f4be8b6b..e242ed9e 100644 --- a/include/sigar_private.h +++ b/include/sigar_private.h @@ -344,7 +344,7 @@ int sigar_get_iftype(const char *name, int *type, int *inst); #include #endif -#define SIGAR_HOSTENT_LEN 512 +#define SIGAR_HOSTENT_LEN 1024 #if defined(_AIX) #define SIGAR_HAS_HOSTENT_DATA #endif