mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 22:24:16 +00:00
optimize
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@960 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
76109c5124
commit
fac7b4a64e
29 files changed
+511
-177
No files matched your search
@@ -2140,6 +2140,11 @@ static void js_thread_launch(char *text)
|
||||
static switch_status launch_async(char *text, char *out, size_t outlen)
|
||||
{
|
||||
|
||||
if (switch_strlen_zero(text)) {
|
||||
switch_copy_string(out, "INVALID", outlen);
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
js_thread_launch(text);
|
||||
switch_copy_string(out, "OK", outlen);
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
|
||||
Reference in new issue
Block a user