diff options
Diffstat (limited to 'src/common/plugin.c')
-rw-r--r-- | src/common/plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/plugin.c b/src/common/plugin.c index 6b2ffd0c..5c09e921 100644 --- a/src/common/plugin.c +++ b/src/common/plugin.c @@ -662,11 +662,11 @@ plugin_emit_print (session *sess, char *word[], time_t server_time) int plugin_emit_dummy_print (session *sess, char *name) { - char *word[32]; + char *word[PDIWORDS]; int i; word[0] = name; - for (i = 1; i < 32; i++) + for (i = 1; i < PDIWORDS; i++) word[i] = "\000"; return plugin_hook_run (sess, name, word, NULL, NULL, HOOK_PRINT); |