summaryrefslogtreecommitdiff
path: root/plugin/plugin.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-06-10 00:15:36 +0000
committerStef Walter <stef@memberwebs.com>2008-06-10 00:15:36 +0000
commitd51dfc6d13785641061bb7e7d5909a7a0f3ecfdb (patch)
treeeacaf6843a443cd82cdaf0f5e35fb1eabc94a24a /plugin/plugin.c
parent33846e5122fbf8a964f278eb01ad821e643bb63c (diff)
Null terminate things propelry
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)