use SIGAR_INET6_ADDRSTRLEN

This commit is contained in:
Doug MacEachern 2009-02-24 19:47:41 -08:00
parent 24bf84a310
commit 839010d6c9
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ Sigar::NfsServerV3 T_PTROBJ
OUTPUT OUTPUT
T_NETADDR T_NETADDR
{ {
char addr_str[INET6_ADDRSTRLEN]; char addr_str[SIGAR_INET6_ADDRSTRLEN];
sigar_net_address_to_string(NULL, &$var, addr_str); sigar_net_address_to_string(NULL, &$var, addr_str);
sv_setpv($arg, addr_str); sv_setpv($arg, addr_str);
} }