We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7e921c commit 5c4911aCopy full SHA for 5c4911a
src/perl/nxt_perl_psgi.c
@@ -407,15 +407,15 @@ nxt_perl_psgi_module_create(const char *script)
407
char *buf, *p;
408
size_t length;
409
410
- static nxt_str_t prefix = nxt_string(
+ static const nxt_str_t prefix = nxt_string(
411
"package NGINX::Unit::Sandbox;"
412
"sub new {"
413
" return bless {}, $_[0];"
414
"}"
415
"{my $app = do \""
416
);
417
418
- static nxt_str_t suffix = nxt_string_zero(
+ static const nxt_str_t suffix = nxt_string_zero(
419
"\";"
420
"unless ($app) {"
421
" if($@ || $1) {die $@ || $1}"
0 commit comments