summaryrefslogtreecommitdiff
path: root/plugin/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/plugin.c')
-rw-r--r--plugin/plugin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/plugin.c b/plugin/plugin.c
index 54144ba..150e605 100644
--- a/plugin/plugin.c
+++ b/plugin/plugin.c
@@ -332,6 +332,9 @@ plugin_init (Slapi_PBlock *pb)
log_plugin ("unrecognized plugin argument: %s", argv[i]);
}
+ /* Null terminate */
+ plugin_arguments[i] = NULL;
+
/* Next we initialize all components */
if (autoserial_init () < 0 ||
dnsnotify_init() < 0)