git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7004 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-12-28 20:52:48 +00:00
parent 82f8473aee
commit e87a87395e
1 changed files with 20 additions and 20 deletions

View File

@ -764,7 +764,7 @@ JSClass event_class = {
/*********************************************************************************/
static JSBool dtmf_construct(JSContext * cx, JSObject * obj, uintN argc, jsval * argv, jsval * rval)
{
if (argc > 0) {
switch_dtmf_t *dtmf;
int32 duration = SWITCH_DEFAULT_DTMF_DURATION;
char *ename;
@ -787,7 +787,7 @@ static JSBool dtmf_construct(JSContext * cx, JSObject * obj, uintN argc, jsval *
JS_SetPrivate(cx, obj, dtmf);
return JS_TRUE;
}
}
return JS_FALSE;
}