]> git.sur5r.net Git - openldap/blobdiff - include/ldif.h
fix leak in case of retry
[openldap] / include / ldif.h
index 0b2eaed130cc7f39ed6d8f5106ddf27019024052..656b7a06d86be8535201b69d516edb2d98d0ddc1 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2005 The OpenLDAP Foundation.
+ * Copyright 1998-2006 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -90,7 +90,7 @@ typedef struct LDIFFP {
 } LDIFFP;
 
 LDAP_LDIF_F( LDIFFP * )
-ldif_open LDAP_P(( char *file, char *mode ));
+ldif_open LDAP_P(( LDAP_CONST char *file, LDAP_CONST char *mode ));
 
 LDAP_LDIF_F( void )
 ldif_close LDAP_P(( LDIFFP * ));