/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 1998-2013 The OpenLDAP Foundation.
+ * Copyright 1998-2015 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
b->error = _URE_INVALID_PROPERTY;
}
- if (n != 0)
+ if (b->error == _URE_OK && n != 0)
m |= cclass_flags[n];
/*