git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3476 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-11-28 21:59:27 +00:00
parent d288ae58a8
commit bf4d94affe
1 changed files with 0 additions and 2 deletions

View File

@ -824,7 +824,6 @@ static JSBool session_recordfile(JSContext *cx, JSObject *obj, uintN argc, jsval
struct js_session *jss = JS_GetPrivate(cx, obj);
switch_channel_t *channel;
char *file_name = NULL;
char *input_callback = NULL;
void *bp = NULL;
int len = 0;
switch_input_callback_function_t dtmf_func = NULL;
@ -845,7 +844,6 @@ static JSBool session_recordfile(JSContext *cx, JSObject *obj, uintN argc, jsval
if (argc > 1) {
if ((function = JS_ValueToFunction(cx, argv[1]))) {
memset(&cb_state, 0, sizeof(cb_state));
switch_copy_string(cb_state.code_buffer, input_callback, sizeof(cb_state.code_buffer));
cb_state.session_state = jss;
cb_state.function = function;
cb_state.cx = cx;