提交 40114ba4 authored 作者: Ken Rice's avatar Ken Rice

tab cleanup

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11171 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 d7c78cbd
......@@ -767,16 +767,16 @@ SWITCH_STANDARD_API(limit_usage_function)
callback_t cbt = { 0 };
if (!switch_strlen_zero(cmd)) {
mydata = strdup(cmd);
switch_assert(mydata);
argc = switch_separate_string(mydata, ' ', argv, (sizeof(argv) / sizeof(argv[0])));
}
if (argc < 2) {
stream->write_function(stream, "USAGE: limit_usage %s\n", LIMIT_USAGE_USAGE);
if (!switch_strlen_zero(cmd)) {
mydata = strdup(cmd);
switch_assert(mydata);
argc = switch_separate_string(mydata, ' ', argv, (sizeof(argv) / sizeof(argv[0])));
}
if (argc < 2) {
stream->write_function(stream, "USAGE: limit_usage %s\n", LIMIT_USAGE_USAGE);
goto end;
}
}
realm = argv[0];
......@@ -788,7 +788,7 @@ SWITCH_STANDARD_API(limit_usage_function)
limit_execute_sql_callback(NULL, sql, sql2str_callback, &cbt);
switch_safe_free(sql);
stream->write_function(stream, "%s", buf);
stream->write_function(stream, "%s", buf);
end:
switch_safe_free(mydata);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论