mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-23 01:12:20 +08:00
去除编译警告,修复bug
This commit is contained in:
@@ -187,7 +187,7 @@ static inline void addHttpListener(){
|
||||
const HttpBody::Ptr &body) {
|
||||
|
||||
//body默认为空
|
||||
size_t size = 0;
|
||||
ssize_t size = 0;
|
||||
if (body && body->remainSize()) {
|
||||
//有body,获取body大小
|
||||
size = body->remainSize();
|
||||
|
||||
Reference in New Issue
Block a user