]> git.sur5r.net Git - openldap/commitdiff
assert( e != NULL ) in entry2str()
authorKurt Zeilenga <kurt@openldap.org>
Wed, 19 Jun 2002 22:04:28 +0000 (22:04 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 19 Jun 2002 22:04:28 +0000 (22:04 +0000)
servers/slapd/entry.c

index 8a1106e9744bf75ff713cc40a974cdfc512c964c..f5829d395af02a3555138d88234b8df301b6e68e 100644 (file)
@@ -305,6 +305,8 @@ entry2str(
        int             i;
        ber_len_t tmplen;
 
+       assert( e != NULL );
+
        /*
         * In string format, an entry looks like this:
         *      dn: <dn>\n