]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/getentry.c
Fix == typo
[openldap] / libraries / libldap / getentry.c
index 272ea304add86cbc71b7fd04a4f64debb33836b9..09721f1d8e991fcc90b570db2c8e03db53f89270 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 /*
  * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
@@ -27,6 +28,7 @@ ldap_first_entry( LDAP *ld, LDAPMessage *chain )
 {
        assert( ld != NULL );
        assert( LDAP_VALID( ld ) );
+       assert( chain != NULL );
 
        if( ld == NULL || chain == NULL ) {
                return NULL;
@@ -42,6 +44,7 @@ ldap_next_entry( LDAP *ld, LDAPMessage *entry )
 {
        assert( ld != NULL );
        assert( LDAP_VALID( ld ) );
+       assert( entry != NULL );
 
        if ( ld == NULL || entry == NULL ) {
                return NULL;