From 2cb35446ae69d6cd46e3d3acfa9d4fa228e7fed1 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 10 Jan 2006 03:03:26 +0000 Subject: [PATCH] style --- lib/dns/name.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/dns/name.c b/lib/dns/name.c index d1dce2d43d..942e0e2df8 100644 --- a/lib/dns/name.c +++ b/lib/dns/name.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: name.c,v 1.144.18.12 2005/10/14 01:28:26 marka Exp $ */ +/* $Id: name.c,v 1.144.18.13 2006/01/10 03:03:26 marka Exp $ */ /*! \file */ @@ -1481,9 +1481,8 @@ dns_name_totext(dns_name_t *name, isc_boolean_t omit_final_dot, isc_buffer_add(target, tlen - trem); #ifdef ISC_PLATFORM_USETHREADS - mem = isc_thread_key_getspecific(totext_filter_proc_key); - if (mem) + if (mem != NULL) totext_filter_proc = *mem; #endif if (totext_filter_proc != NULL)