]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/overlays/seqmod.c
More schema tweaks
[openldap] / servers / slapd / overlays / seqmod.c
index db237817084fe41cb1cc216d2f08cf6a5bf3a1f8..18f5ded5d76b7ff3b6b4132139065b76fc60ae61 100644 (file)
@@ -1,7 +1,7 @@
 /* seqmod.c - sequenced modifies */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2004 The OpenLDAP Foundation.
+ * Copyright 2004-2005 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -61,7 +61,7 @@ seqmod_op_cleanup( Operation *op, SlapReply *rs )
        /* This op is done, remove it */
        ldap_pvt_thread_mutex_lock( &sm->sm_mutex );
        av = avl_find2( sm->sm_mods, &mtdummy, sm_avl_cmp );
-       assert(av);
+       assert(av != NULL);
 
        mt = av->avl_data;