rem: if (inet_pton(AF_INET6, num, &ap) == 1)
add: int err; if ((err=inet_pton(AF_INET6, num, &ap)) == 1)
context: numeric_to_addr(const char *num){	static struct in6_addr ap;	if (inet_pton(AF_INET6, num, &ap) == 1)		return &ap;	return (struct in6_addr *)NULL;}