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
2014-04-03 14:17:00 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0ae23d75564fe5dbe7b27a8553ba3f7d221ddd77
0ae23d75
1 parent
4a40075f
rename version to versions
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
trunk/src/app/srs_app_http_api.cpp
trunk/src/app/srs_app_http_api.cpp
查看文件 @
0ae23d7
...
...
@@ -118,7 +118,7 @@ int SrsApiV1::do_process_request(SrsSocket* skt, SrsHttpMessage* req)
ss
<<
JOBJECT_START
<<
JFIELD_ERROR
(
ERROR_SUCCESS
)
<<
JFIELD_CONT
<<
JFIELD_ORG
(
"urls"
,
JOBJECT_START
)
<<
JFIELD_STR
(
"version"
,
"the version of SRS"
)
<<
JFIELD_CONT
<<
JFIELD_STR
(
"version
s
"
,
"the version of SRS"
)
<<
JFIELD_CONT
<<
JFIELD_STR
(
"authors"
,
"the primary authors and contributors"
)
<<
JOBJECT_END
<<
JOBJECT_END
;
...
...
@@ -136,7 +136,7 @@ SrsApiVersion::~SrsApiVersion()
bool
SrsApiVersion
::
can_handle
(
const
char
*
path
,
int
length
,
const
char
**
/*pchild*/
)
{
return
srs_path_equals
(
"/version"
,
path
,
length
);
return
srs_path_equals
(
"/version
s
"
,
path
,
length
);
}
int
SrsApiVersion
::
do_process_request
(
SrsSocket
*
skt
,
SrsHttpMessage
*
req
)
...
...
请
注册
或
登录
后发表评论