mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修复编译警告
This commit is contained in:
parent
4b9b022690
commit
ae99662a3d
@ -186,7 +186,7 @@ bool HttpSession::checkLiveStream(const string &schema, const string &url_suffi
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
int prefix_size = url_suffix.size();
|
||||
auto prefix_size = url_suffix.size();
|
||||
if (url.size() < prefix_size || strcasecmp(url.data() + (url.size() - prefix_size), url_suffix.data())) {
|
||||
//未找到后缀
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user