From a5dad347c27244ea799c83f2026638f9f92905a9 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 17 Nov 1999 21:39:39 +0000 Subject: [PATCH] ITS#356: don't print entry if name is NULL. --- clients/ud/print.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/clients/ud/print.c b/clients/ud/print.c index 8cb5c133dc..0ac0e3e99c 100644 --- a/clients/ud/print.c +++ b/clients/ud/print.c @@ -195,6 +195,12 @@ print_an_entry( void ) if (debug & D_TRACE) printf("->print_an_entry()\n"); #endif + + if( Entry.name == NULL ) { + printf(" No Entry\n"); + return; + } + printf(" \"%s\"\n", Entry.name); /* -- 2.39.5