Changed mod_java so it still compiles.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6357 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f8b798cfa3
commit
90853d26bb
|
@ -45,7 +45,7 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_java_shutdown);
|
|||
SWITCH_MODULE_DEFINITION(mod_java, mod_java_load, mod_java_shutdown, NULL);
|
||||
|
||||
|
||||
static void launch_java(switch_core_session_t *session, char *data, JNIEnv *env)
|
||||
static void launch_java(switch_core_session_t *session, const char *data, JNIEnv *env)
|
||||
{
|
||||
jclass Launcher = NULL;
|
||||
jmethodID launch = NULL;
|
||||
|
@ -93,7 +93,7 @@ done:
|
|||
(*env)->DeleteLocalRef(env, Launcher);
|
||||
}
|
||||
|
||||
static void java_function(switch_core_session_t *session, char *data)
|
||||
SWITCH_STANDARD_APP(java_function)
|
||||
{
|
||||
JNIEnv *env;
|
||||
jint res;
|
||||
|
|
Loading…
Reference in New Issue