X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibrewrite%2Fldapmap.c;h=ab566306e6e3f65451f92b47ee40b90d0f2707dc;hb=fe8e3b7efa1a3abd22f3c9ebf4b82ae28f270d74;hp=523d5c5cbd79b77f9159194c0c2b389e395df162;hpb=fbba83b20f3a645b2dc19b8ec4a0026f71f5b15c;p=openldap
diff --git a/libraries/librewrite/ldapmap.c b/libraries/librewrite/ldapmap.c
index 523d5c5cbd..ab566306e6 100644
--- a/libraries/librewrite/ldapmap.c
+++ b/libraries/librewrite/ldapmap.c
@@ -1,7 +1,7 @@
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software .
*
- * Copyright 2000-2003 The OpenLDAP Foundation.
+ * Copyright 2000-2006 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -19,6 +19,7 @@
#include
+#define LDAP_DEPRECATED 1
#include "rewrite-int.h"
#include "rewrite-map.h"
@@ -338,8 +339,8 @@ map_ldap_destroy(
{
struct ldap_map_data *data;
- assert( pmap );
- assert( *pmap );
+ assert( pmap != NULL );
+ assert( *pmap != NULL );
data = ( struct ldap_map_data * )(*pmap)->lb_private;