]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/abandon.c
Remove a few typos in comments
[openldap] / libraries / libldap / abandon.c
index ebc6bca5dbc1bd22cb644a9e307a6e4fe782afad..2fac95f770c667226d2e36a93ae5522c8e5a659c 100644 (file)
@@ -1,4 +1,8 @@
 /*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
+/*  Portions
  *  Copyright (c) 1990 Regents of the University of Michigan.
  *  All rights reserved.
  *
@@ -7,10 +11,6 @@
 
 #include "portable.h"
 
-#ifndef lint 
-static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
-#endif
-
 #include <stdio.h>
 #include <stdlib.h>
 
@@ -98,7 +98,7 @@ do_abandon( LDAP *ld, int origid, int msgid )
                        ld->ld_errno = LDAP_NO_MEMORY;
                } else {
 #ifdef LDAP_CONNECTIONLESS
-                       if ( ld->ld_sb.sb_naddr > 0 ) {
+                       if ( ld->ld_cldapnaddr > 0 ) {
                                err = ber_printf( ber, "{isti}",
                                    ++ld->ld_msgid, ld->ld_cldapdn,
                                    LDAP_REQ_ABANDON, msgid );