]> git.sur5r.net Git - openldap/blobdiff - libraries/librewrite/subst.c
don't keep searching referrals...
[openldap] / libraries / librewrite / subst.c
index 3fb2ae24766ad0199e140d7169481a20eacb59a2..6a7feda3e42489da1a2fc3398bb333309fb52249 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2000-2004 The OpenLDAP Foundation.
+ * Copyright 2000-2006 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -453,8 +453,8 @@ rewrite_subst_destroy(
        int                     n;
        struct rewrite_subst    *subst;
 
-       assert( psubst );
-       assert( *psubst );
+       assert( psubst != NULL );
+       assert( *psubst != NULL );
 
        subst = *psubst;