Resolves FS-10071. Fixed newer (perl 5.22 and up) versions of perl from crashing, -e means evaluate the following string and it does not like emptystr.

This commit is contained in:
Mitch Capper authored and Mike Jerris committed 2017-03-30 10:26:54 -05:00
1 parent 989194ca14
commit 84584d7194
1 file changed
+1 -1
+1 -1
View File
@@ -45,7 +45,7 @@
#include <EXTERN.h>
#include <perl.h>
#include <switch.h>
static char *embedding[] = { "", "-e", "" };
static char *embedding[] = { "", "-e", "0" };
EXTERN_C void xs_init(pTHX);
SWITCH_MODULE_LOAD_FUNCTION(mod_perl_load);