]> git.sur5r.net Git - openldap/blobdiff - libraries/librewrite/context.c
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
[openldap] / libraries / librewrite / context.c
index a23c9220de22a4b3cde73762a11a31fc435d929a..2a851cee6844efeaa45eeca30709e536208e8954 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2000-2009 The OpenLDAP Foundation.
+ * Copyright 2000-2013 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;