summaryrefslogtreecommitdiffstats
path: root/src/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/format.c')
-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);