mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 03:59:34 -05:00
ITS#356: don't print entry if name is NULL.
This commit is contained in:
parent
a995aef4a5
commit
a5dad347c2
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue