]> git.sur5r.net Git - openldap/commitdiff
ITS#356: don't print entry if name is NULL.
authorKurt Zeilenga <kurt@openldap.org>
Wed, 17 Nov 1999 21:39:39 +0000 (21:39 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 17 Nov 1999 21:39:39 +0000 (21:39 +0000)
clients/ud/print.c

index 8cb5c133dca28a33431e31c23fa2ac4b9b2d0ad8..0ac0e3e99ce5af0377b9e2d06b537711d032bf16 100644 (file)
@@ -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);
        
        /*