[SIGAR-228] increase buflen for gethostbyname_r

This commit is contained in:
Doug MacEachern 2011-04-08 13:03:32 -07:00
parent 8a4c9f6eb0
commit 639169e9cc
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ int sigar_get_iftype(const char *name, int *type, int *inst);
#include <netdb.h>
#endif
#define SIGAR_HOSTENT_LEN 512
#define SIGAR_HOSTENT_LEN 1024
#if defined(_AIX)
#define SIGAR_HAS_HOSTENT_DATA
#endif