]> git.sur5r.net Git - openldap/blobdiff - servers/ldapd/result.c
Replace NULLBER with NULL
[openldap] / servers / ldapd / result.c
index 777aec2e68a6da5459f40fb949c957e6dcc324ca..a046a4e62008c029e8cdd3fd1669433af03ca564 100644 (file)
@@ -280,7 +280,7 @@ send_ldap_msgresult(
 {
 #ifdef LDAP_CONNECTIONLESS
        if ( m->m_cldap ) {
-               lber_pvt_sb_udp_set_dst( &sb, &m->m_clientaddr );
+               ber_pvt_sb_udp_set_dst( &sb, &m->m_clientaddr );
 
                Debug( LDAP_DEBUG_TRACE, "UDP response to %s port %d\n", 
                    inet_ntoa(((struct sockaddr_in *)
@@ -305,7 +305,7 @@ send_ldap_result(
        int             rc;
 #ifdef LDAP_CONNECTIONLESS
        int             cldap;
-       cldap = ( sb->sb_io == &lber_pvt_sb_io_udp );
+       cldap = ( sb->sb_io == &ber_pvt_sb_io_udp );
 #endif
 
        Debug( LDAP_DEBUG_TRACE, "send_ldap_result\n", 0, 0, 0 );
@@ -317,7 +317,7 @@ send_ldap_result(
                tag = LBER_SEQUENCE;
 #endif
 
-       if ( (ber = der_alloc()) == NULLBER ) {
+       if ( (ber = der_alloc()) == NULL ) {
                Debug( LDAP_DEBUG_ANY, "der_alloc failed\n", 0, 0, 0 );
                return( -1 );
        }