From: Pierangelo Masarati Date: Mon, 14 Nov 2005 11:23:44 +0000 (+0000) Subject: return the position of the failing verb X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~30 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1cef82abe92049bdf0daad48b5d42710c74fc6f5;p=openldap return the position of the failing verb --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index c20a76031f..7669a89fcc 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -844,7 +844,7 @@ verbs_to_mask(int argc, char *argv[], slap_verbmasks *v, slap_mask_t *m) { int i, j; for(i = 1; i < argc; i++) { j = verb_to_mask(argv[i], v); - if(BER_BVISNULL(&v[j].word)) return(1); + if(BER_BVISNULL(&v[j].word)) return i; while (!v[j].mask) j--; *m |= v[j].mask; }