summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-07-02 14:49:59 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-07-02 14:49:59 -0400
commite7a2274b2812194fc2dd9c5fc73f90a131739d64 (patch)
tree3b05b233d9277850e7b899944e8fa9fa0ccc70f3 /src
parent1e706f3897eb120e3161bdab44fd6e5696c81881 (diff)
downloadslapi-nis-e7a2274b2812194fc2dd9c5fc73f90a131739d64.tar.gz
slapi-nis-e7a2274b2812194fc2dd9c5fc73f90a131739d64.tar.xz
slapi-nis-e7a2274b2812194fc2dd9c5fc73f90a131739d64.zip
- require exactly the right number of arguments
Diffstat (limited to 'src')
-rw-r--r--src/format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format.c b/src/format.c
index 1ccd07a..f06d548 100644
--- a/src/format.c
+++ b/src/format.c
@@ -750,7 +750,7 @@ format_referred(struct plugin_state *state, Slapi_PBlock *pb, Slapi_Entry *e,
"referred: error parsing arguments\n");
return -EINVAL;
}
- if (argc < 4) {
+ if (argc != 4) {
slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id,
"referred: requires 4 arguments\n");
format_free_parsed_args(argv);