Merge pull request #1233 in FS/freeswitch from ~MITCH.CAPPER/freeswitch:mod_perl_init_fix_FS_10071 to master

* commit '862c969ba5924fb04ed32e483c5bef13712d4463':
  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:
Mike Jerris 2017-03-22 21:03:29 +00:00
commit e4b7b2038f
1 changed files with 1 additions and 1 deletions

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