From a5cda71d84cf11fdf8c7af7778ed744801862c4f Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sun, 31 Oct 1999 00:06:38 +0000 Subject: [PATCH] fix bad return value --- lib/isc/sockaddr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/sockaddr.c b/lib/isc/sockaddr.c index a52fd41ef7..545d5f1762 100644 --- a/lib/isc/sockaddr.c +++ b/lib/isc/sockaddr.c @@ -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);