提交 dab313af authored 作者: Anthony Minessale's avatar Anthony Minessale 提交者: Ken Rice

building stub module

上级 b140bfbf
...@@ -185,6 +185,10 @@ switch_status_t html5_on_destroy(switch_core_session_t *session) ...@@ -185,6 +185,10 @@ switch_status_t html5_on_destroy(switch_core_session_t *session)
tech_pvt = switch_core_session_get_private(session); tech_pvt = switch_core_session_get_private(session);
if (tech_pvt == NULL) {
return SWITCH_STATUS_SUCCESS;
}
return SWITCH_STATUS_SUCCESS; return SWITCH_STATUS_SUCCESS;
} }
...@@ -412,8 +416,8 @@ SWITCH_STANDARD_API(html5_contact_function) ...@@ -412,8 +416,8 @@ SWITCH_STANDARD_API(html5_contact_function)
int argc; int argc;
char *argv[5]; char *argv[5];
char *dup = NULL; char *dup = NULL;
char *szprofile = NULL, *user = NULL; // char *szprofile = NULL, *user = NULL;
const char *nickname = NULL; // const char *nickname = NULL;
if (zstr(cmd)) { if (zstr(cmd)) {
goto usage; goto usage;
...@@ -426,13 +430,14 @@ SWITCH_STANDARD_API(html5_contact_function) ...@@ -426,13 +430,14 @@ SWITCH_STANDARD_API(html5_contact_function)
goto usage; goto usage;
} }
szprofile = argv[0]; // szprofile = argv[0];
if (!strchr(argv[1], '@')) { if (!strchr(argv[1], '@')) {
goto usage; goto usage;
} }
user = argv[1]; // user = argv[1];
nickname = argv[2]; // nickname = argv[2];
goto done; goto done;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论