Permalink
Browse files

[SIGAR-228] increase buflen for gethostbyname_r

  • Loading branch information...
dougm committed Apr 8, 2011
1 parent 8a4c9f6 commit 639169e9cc92711a10d2b699d7dbd19edb34e4cc
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/sigar_private.h
View
@@ -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

0 comments on commit 639169e

Please sign in to comment.