[Freeswitch-svn] [commit] r6357 - freeswitch/trunk/src/mod/languages/mod_java

Freeswitch SVN dacha at freeswitch.org
Tue Nov 20 03:12:53 EST 2007


Author: dacha
Date: Tue Nov 20 03:12:52 2007
New Revision: 6357

Modified:
   freeswitch/trunk/src/mod/languages/mod_java/mod_java.c

Log:
Changed mod_java so it still compiles.


Modified: freeswitch/trunk/src/mod/languages/mod_java/mod_java.c
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_java/mod_java.c	(original)
+++ freeswitch/trunk/src/mod/languages/mod_java/mod_java.c	Tue Nov 20 03:12:52 2007
@@ -45,7 +45,7 @@
 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 @@
         (*env)->DeleteLocalRef(env, Launcher);
 }
 
-static void java_function(switch_core_session_t *session, char *data)
+SWITCH_STANDARD_APP(java_function)
 {
     JNIEnv *env;
     jint res;



More information about the Freeswitch-svn mailing list