Pierangelo Masarati writes:
Well, AFAIR, normalize should be called AFTER validate; and validate should reject that CSN. The assert() was to make sure that, during development, normalize was not called with invalid data. I'm looking at that.
Sounds like we need a macro a la
#ifdef LDAP_DEVEL /* for tested non-release versions */ #define ASSERT_DEVEL assert #else #define ASSERT_DEVEL(expr) ((void)0) #endif