2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

fix bad return value

This commit is contained in:
Bob Halley
1999-10-31 00:06:38 +00:00
parent 9779deddba
commit a5cda71d84

View File

@@ -128,7 +128,7 @@ isc_sockaddr_totext(const isc_sockaddr_t *sockaddr, isc_buffer_t *target) {
sprintf(pbuf, "%u", ntohs(sin6->sin6_port));
break;
default:
return (NULL);
return (ISC_R_NOTIMPLEMENTED);
}
alen = strlen(abuf);