正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -1294,7 +1294,7 @@ SrsRequest* SrsHttpMessage::to_request(string vhost) | @@ -1294,7 +1294,7 @@ SrsRequest* SrsHttpMessage::to_request(string vhost) | ||
| 1294 | SrsRequest* req = new SrsRequest(); | 1294 | SrsRequest* req = new SrsRequest(); |
| 1295 | 1295 | ||
| 1296 | req->app = _uri->get_path(); | 1296 | req->app = _uri->get_path(); |
| 1297 | - ssize_t pos = string::npos; | 1297 | + size_t pos = string::npos; |
| 1298 | if ((pos = req->app.rfind("/")) != string::npos) { | 1298 | if ((pos = req->app.rfind("/")) != string::npos) { |
| 1299 | req->stream = req->app.substr(pos + 1); | 1299 | req->stream = req->app.substr(pos + 1); |
| 1300 | req->app = req->app.substr(0, pos); | 1300 | req->app = req->app.substr(0, pos); |
-
请 注册 或 登录 后发表评论