From: Kurt Zeilenga Date: Wed, 17 Nov 1999 21:39:39 +0000 (+0000) Subject: ITS#356: don't print entry if name is NULL. X-Git-Tag: UCDATA_2_4~205 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a5dad347c27244ea799c83f2026638f9f92905a9;p=openldap ITS#356: don't print entry if name is NULL. --- 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); /*