Cleanup comments, copyright

This commit is contained in:
Howard Chu 2004-03-13 09:13:11 +00:00
parent 25805a3bb2
commit 27d0e14a12

View File

@ -1,23 +1,16 @@
/* /* $OpenLDAP$ */
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
/* Adapted for inclusion into OpenLDAP by Kurt D. Zeilenga */
/*---
* Copyright (C) 1999, 2000 Novell, Inc. All Rights Reserved.
* *
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND * Copyright 2004 The OpenLDAP Foundation.
* TREATIES. USE, MODIFICATION, AND REDISTRIBUTION OF THIS WORK IS SUBJECT * All rights reserved.
* TO VERSION 2.0.1 OF THE OPENLDAP PUBLIC LICENSE, A COPY OF WHICH IS *
* AVAILABLE AT HTTP://WWW.OPENLDAP.ORG/LICENSE.HTML OR IN THE FILE "LICENSE" * Redistribution and use in source and binary forms, with or without
* IN THE TOP-LEVEL DIRECTORY OF THE DISTRIBUTION. ANY USE OR EXPLOITATION * modification, are permitted only as authorized by the OpenLDAP
* OF THIS WORK OTHER THAN AS AUTHORIZED IN VERSION 2.0.1 OF THE OPENLDAP * Public License.
* PUBLIC LICENSE, OR OTHER PRIOR WRITTEN CONSENT FROM NOVELL, COULD SUBJECT *
* THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY. * A copy of this license is available in the file LICENSE in the
*---*/ * top-level directory of the distribution or, alternatively, at
/* Note: A verbatim copy of version 2.0.1 of the OpenLDAP Public License * <http://www.OpenLDAP.org/license.html>.
* can be found in the file "build/LICENSE-2.0.1" in this distribution
* of OpenLDAP Software.
*/ */
#include "portable.h" #include "portable.h"
@ -74,11 +67,6 @@ ldap_create_passwordpolicy_control( LDAP *ld,
ber_free(ber, 1); ber_free(ber, 1);
return(ld->ld_errno); return(ld->ld_errno);
exit:
ber_free(ber, 1);
ld->ld_errno = LDAP_ENCODING_ERROR;
return(ld->ld_errno);
} }