diff options
Diffstat (limited to 'apps/plugins/lib/action_helper.pl')
-rwxr-xr-x | apps/plugins/lib/action_helper.pl | 2 |
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 | ||
141 | if ($len_max_action > $len_max_context) | 141 | if ($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 | } |
145 | else | 146 | else |
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 | } |
149 | print <<EOF | 151 | print <<EOF |