mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-24 04:04:16 +00:00
FS-4350 --resolve
This commit is contained in:
1 parent
a97ec71902
commit
690cae5de1
1 file changed
+1
-1
@@ -2383,7 +2383,7 @@ static JSBool session_hangup(JSContext * cx, JSObject * obj, uintN argc, jsval *
|
||||
if (switch_channel_up(channel)) {
|
||||
jsval ret = JS_TRUE;
|
||||
|
||||
if (argc > 1) {
|
||||
if (argc > 0) {
|
||||
if (JSVAL_IS_INT(argv[0])) {
|
||||
int32 i = 0;
|
||||
JS_ValueToInt32(cx, argv[0], &i);
|
||||
|
||||
Reference in new issue
Block a user