Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-12-10 18:02:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3ab589286365c93542a035648e70438b905af022
3ab58928
1 parent
5ac8177c
refine comments.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
0 行增加
和
10 行删除
trunk/src/app/srs_app_config.cpp
trunk/src/app/srs_app_config.cpp
查看文件 @
3ab5892
...
...
@@ -2796,7 +2796,6 @@ int SrsConfig::raw_set_pid(string pid, bool& applied)
applied
=
false
;
SrsConfDirective
*
conf
=
root
->
get_or_create
(
"pid"
);
if
(
conf
->
arg0
()
==
pid
)
{
...
...
@@ -2821,7 +2820,6 @@ int SrsConfig::raw_set_chunk_size(string chunk_size, bool& applied)
applied
=
false
;
SrsConfDirective
*
conf
=
root
->
get_or_create
(
"chunk_size"
);
if
(
conf
->
arg0
()
==
chunk_size
)
{
...
...
@@ -2844,7 +2842,6 @@ int SrsConfig::raw_set_ff_log_dir(string ff_log_dir, bool& applied)
applied
=
false
;
SrsConfDirective
*
conf
=
root
->
get_or_create
(
"ff_log_dir"
);
if
(
conf
->
arg0
()
==
ff_log_dir
)
{
...
...
@@ -2867,7 +2864,6 @@ int SrsConfig::raw_set_srs_log_tank(string srs_log_tank, bool& applied)
applied
=
false
;
SrsConfDirective
*
conf
=
root
->
get_or_create
(
"srs_log_tank"
);
if
(
conf
->
arg0
()
==
srs_log_tank
)
{
...
...
@@ -2892,7 +2888,6 @@ int SrsConfig::raw_set_srs_log_level(string srs_log_level, bool& applied)
applied
=
false
;
SrsConfDirective
*
conf
=
root
->
get_or_create
(
"srs_log_level"
);
if
(
conf
->
arg0
()
==
srs_log_level
)
{
...
...
@@ -2917,7 +2912,6 @@ int SrsConfig::raw_set_srs_log_file(string srs_log_file, bool& applied)
applied
=
false
;
SrsConfDirective
*
conf
=
root
->
get_or_create
(
"srs_log_file"
);
if
(
conf
->
arg0
()
==
srs_log_file
)
{
...
...
@@ -2942,7 +2936,6 @@ int SrsConfig::raw_set_max_connections(string max_connections, bool& applied)
applied
=
false
;
SrsConfDirective
*
conf
=
root
->
get_or_create
(
"max_connections"
);
if
(
conf
->
arg0
()
==
max_connections
)
{
...
...
@@ -2967,7 +2960,6 @@ int SrsConfig::raw_set_utc_time(string utc_time, bool& applied)
applied
=
false
;
SrsConfDirective
*
conf
=
root
->
get_or_create
(
"utc_time"
);
if
(
conf
->
arg0
()
==
utc_time
)
{
...
...
@@ -2992,7 +2984,6 @@ int SrsConfig::raw_set_pithy_print_ms(string pithy_print_ms, bool& applied)
applied
=
false
;
SrsConfDirective
*
conf
=
root
->
get_or_create
(
"pithy_print_ms"
);
if
(
conf
->
arg0
()
==
pithy_print_ms
)
{
...
...
@@ -3017,7 +3008,6 @@ int SrsConfig::raw_create_vhost(string vhost, bool& applied)
applied
=
false
;
SrsConfDirective
*
conf
=
root
->
get_or_create
(
"vhost"
,
vhost
);
conf
->
get_or_create
(
"enabled"
)
->
set_arg0
(
"on"
);
...
...
请
注册
或
登录
后发表评论