From 1cef82abe92049bdf0daad48b5d42710c74fc6f5 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 14 Nov 2005 11:23:44 +0000 Subject: [PATCH] return the position of the failing verb --- servers/slapd/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5