提交 83a5342b authored 作者: Mathieu Parent's avatar Mathieu Parent

Skinny: fix autocompletion

"skinny profile internal device <tab>" now works
上级 89216756
...@@ -93,7 +93,7 @@ static switch_status_t skinny_api_list_devices(const char *line, const char *cur ...@@ -93,7 +93,7 @@ static switch_status_t skinny_api_list_devices(const char *line, const char *cur
status = SWITCH_STATUS_MEMERR; status = SWITCH_STATUS_MEMERR;
return status; return status;
} }
if (!(argc = switch_separate_string(myline, ' ', argv, (sizeof(argv) / sizeof(argv[0])))) || argc != 5) { if (!(argc = switch_separate_string(myline, ' ', argv, (sizeof(argv) / sizeof(argv[0])))) || argc < 4) {
return status; return status;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论