]> git.sur5r.net Git - openldap/blobdiff - libraries/librewrite/context.c
Merge remote branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
[openldap] / libraries / librewrite / context.c
index c5770de8928385d5e81278f52aa06f3183581a24..42df2819a8b67987c60df55d67a09f03caf8d18e 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2000-2005 The OpenLDAP Foundation.
+ * Copyright 2000-2012 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -215,11 +215,11 @@ rewrite_context_apply(
        assert( result != NULL );
 
        op->lo_depth++;
-       assert( op->lo_depth > 0 );
 
        Debug( LDAP_DEBUG_TRACE, "==> rewrite_context_apply"
                        " [depth=%d] string='%s'\n",
                        op->lo_depth, string, 0 );
+       assert( op->lo_depth > 0 );
        
        s = (char *)string;