Author: anthm Date: Mon May 26 11:02:15 2008 New Revision: 8660 Modified: freeswitch/trunk/src/mod/languages/mod_java/freeswitch_java.cpp Log: update Modified: freeswitch/trunk/src/mod/languages/mod_java/freeswitch_java.cpp ============================================================================== --- freeswitch/trunk/src/mod/languages/mod_java/freeswitch_java.cpp (original) +++ freeswitch/trunk/src/mod/languages/mod_java/freeswitch_java.cpp Mon May 26 11:02:15 2008 @@ -215,7 +215,7 @@ const char *callbackResultUTF = env->GetStringUTFChars(callbackResult, NULL); if (callbackResultUTF) { - status = process_callback_result((char*) callbackResultUTF, &cb_state, session); + status = process_callback_result((char*) callbackResultUTF); env->ReleaseStringUTFChars(callbackResult, callbackResultUTF); } else @@ -303,7 +303,7 @@ callbackResultUTF = env->GetStringUTFChars(callbackResult, NULL); if (callbackResultUTF) { - status = process_callback_result((char*) callbackResultUTF, &cb_state, session); + status = process_callback_result((char*) callbackResultUTF); env->ReleaseStringUTFChars(callbackResult, callbackResultUTF); } else