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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user