提交 ebbd4bb3 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-3681 --resolve -- contact consulting@freeswitch.org for a support contract…

FS-3681 --resolve -- contact consulting@freeswitch.org for a support contract and get priority attention for bugfixes
上级 0153f603
...@@ -515,13 +515,13 @@ switch_status_t rtmp_receive_message(switch_core_session_t *session, switch_core ...@@ -515,13 +515,13 @@ switch_status_t rtmp_receive_message(switch_core_session_t *session, switch_core
const char *name = msg->string_array_arg[0], *number = msg->string_array_arg[1]; const char *name = msg->string_array_arg[0], *number = msg->string_array_arg[1];
char *arg = NULL; char *arg = NULL;
char *argv[2] = { 0 }; char *argv[2] = { 0 };
int argc; //int argc;
if (zstr(name) && !zstr(msg->string_arg)) { if (zstr(name) && !zstr(msg->string_arg)) {
arg = strdup(msg->string_arg); arg = strdup(msg->string_arg);
switch_assert(arg); switch_assert(arg);
argc = switch_separate_string(arg, '|', argv, (sizeof(argv) / sizeof(argv[0]))); switch_separate_string(arg, '|', argv, (sizeof(argv) / sizeof(argv[0])));
name = argv[0]; name = argv[0];
number = argv[1]; number = argv[1];
......
...@@ -639,7 +639,7 @@ switch_status_t rtmp_send_message(rtmp_session_t *rsession, uint8_t amfnumber, u ...@@ -639,7 +639,7 @@ switch_status_t rtmp_send_message(rtmp_session_t *rsession, uint8_t amfnumber, u
} }
end: end:
switch_mutex_unlock(rsession->socket_mutex); switch_mutex_unlock(rsession->socket_mutex);
return SWITCH_STATUS_SUCCESS; return status;
} }
/* Returns SWITCH_STATUS_SUCCESS of the connection is still active or SWITCH_STATUS_FALSE to tear it down */ /* Returns SWITCH_STATUS_SUCCESS of the connection is still active or SWITCH_STATUS_FALSE to tear it down */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论