limit callback recursion to a happy number for all. FSCORE-6

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5032 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-04-28 14:48:18 +00:00
parent 1d2d40a0ed
commit f99c387755
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ JSObject *new_js_event(switch_event_t *event, char *name, JSContext * cx, JSObje
return Event;
}
#define MAX_STACK_DEPTH 12
#define MAX_STACK_DEPTH 2
static switch_status_t js_common_callback(switch_core_session_t *session, void *input, switch_input_type_t itype, void *buf, unsigned int buflen)
{