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 2017-03-22 12:23:36 -07:00 committed by Mike Jerris
parent 989194ca14
commit 84584d7194

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);