X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Fliblunicode%2Fure%2Fure.c;h=bc10795d1e15dcf18c8fdb6876727c2b61ff55bd;hb=1705fa7e553201d5415513a85925268d21575c99;hp=4bfbb34c3abb16fa6cd5af774b4af09bf3defd9d;hpb=dc2e2dbaa13f8117e97e626e07c45c792e87ddb2;p=openldap diff --git a/libraries/liblunicode/ure/ure.c b/libraries/liblunicode/ure/ure.c index 4bfbb34c3a..bc10795d1e 100644 --- a/libraries/liblunicode/ure/ure.c +++ b/libraries/liblunicode/ure/ure.c @@ -1,7 +1,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * 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 @@ -416,7 +416,7 @@ _ure_prop_list(ucs2_t *pp, unsigned long limit, unsigned long *mask, b->error = _URE_INVALID_PROPERTY; } - if (n != 0) + if (b->error == _URE_OK && n != 0) m |= cclass_flags[n]; /*