FS-7488: [mod_managed] fix build error

This commit is contained in:
Michael Jerris 2015-04-28 11:59:15 -05:00
parent 6e588b551b
commit b90aa23cbd
3 changed files with 3 additions and 5 deletions

View File

@ -43,7 +43,7 @@
SWITCH_BEGIN_EXTERN_C SWITCH_BEGIN_EXTERN_C
#define SWITCH_URL_UNSAFE "\r\n \"#%&+:;<=>?@[\\]^`{|}" #define SWITCH_URL_UNSAFE "\r\n #%&+:;<=>?@[\\]^`{|}\""
/* https://code.google.com/p/stringencoders/wiki/PerformanceAscii /* https://code.google.com/p/stringencoders/wiki/PerformanceAscii

View File

@ -17201,9 +17201,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_URL_UNSAFE_get() {
char * jresult ; char * jresult ;
char *result = 0 ; char *result = 0 ;
result = (char *)("\r\n \"#%&+:;<=>?@[\\]^`{ result = (char *)("\r\n #%&+:;<=>?@[\\]^`{|}\"");
|
}");
jresult = SWIG_csharp_string_callback((const char *)result); jresult = SWIG_csharp_string_callback((const char *)result);
return jresult; return jresult;
} }

View File

@ -100,7 +100,7 @@ SWITCH_MOD_DECLARE_NONSTD(void) InitManagedSession(ManagedSession *session, inpu
if (!session) { if (!session) {
return; return;
} }
session->setDTMFCallback(NULL, ""); session->setDTMFCallback(NULL, (char *)"");
session->setHangupHook(NULL); session->setHangupHook(NULL);
session->dtmfDelegate = dtmfDelegate; session->dtmfDelegate = dtmfDelegate;
session->hangupDelegate = hangupDelegate; session->hangupDelegate = hangupDelegate;