正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -684,9 +684,9 @@ int SrsConfig::parse_file(const char* filename) | @@ -684,9 +684,9 @@ int SrsConfig::parse_file(const char* filename) | ||
| 684 | // TODO: check http. | 684 | // TODO: check http. |
| 685 | // TODO: check pid. | 685 | // TODO: check pid. |
| 686 | 686 | ||
| 687 | - std::string filename = this->get_srs_log_file(); | ||
| 688 | - if (!filename.empty()) { | ||
| 689 | - srs_trace("open log file %s and write to", filename.c_str()); | 687 | + std::string log_filename = this->get_srs_log_file(); |
| 688 | + if (!log_filename.empty()) { | ||
| 689 | + srs_trace("open log file %s and write to", log_filename.c_str()); | ||
| 690 | } | 690 | } |
| 691 | 691 | ||
| 692 | return ret; | 692 | return ret; |
-
请 注册 或 登录 后发表评论