summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/action_helper.pl
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/action_helper.pl')
-rwxr-xr-xapps/plugins/lib/action_helper.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/lib/action_helper.pl b/apps/plugins/lib/action_helper.pl
index 1dfdcfd070..742419e23b 100755
--- a/apps/plugins/lib/action_helper.pl
+++ b/apps/plugins/lib/action_helper.pl
@@ -140,10 +140,12 @@ printf "#define CONTEXTBUFSZ %d\n\n", $len_max_context;
140 140
141if ($len_max_action > $len_max_context) 141if ($len_max_action > $len_max_context)
142{ 142{
143 print "const size_t action_helper_maxbuffer = ACTIONBUFSZ;\n";
143 print "static char name_buf[ACTIONBUFSZ];\n"; 144 print "static char name_buf[ACTIONBUFSZ];\n";
144} 145}
145else 146else
146{ 147{
148 print "const size_t action_helper_maxbuffer = CONTEXTBUFSZ;\n";
147 print "static char name_buf[CONTEXTBUFSZ];\n"; 149 print "static char name_buf[CONTEXTBUFSZ];\n";
148} 150}
149print <<EOF 151print <<EOF