正在显示
1 个修改的文件
包含
0 行增加
和
5 行删除
| @@ -163,11 +163,6 @@ string srs_path_build_timestamp(string template_path) | @@ -163,11 +163,6 @@ string srs_path_build_timestamp(string template_path) | ||
| 163 | 163 | ||
| 164 | // [2006], replace with current year. | 164 | // [2006], replace with current year. |
| 165 | if (true) { | 165 | if (true) { |
| 166 | - snprintf(buf, sizeof(buf), "%d", 1900 + tm->tm_year); | ||
| 167 | - path = srs_string_replace(path, "[2006]", buf); | ||
| 168 | - } | ||
| 169 | - // [2006], replace with current year. | ||
| 170 | - if (true) { | ||
| 171 | snprintf(buf, sizeof(buf), "%04d", 1900 + tm->tm_year); | 166 | snprintf(buf, sizeof(buf), "%04d", 1900 + tm->tm_year); |
| 172 | path = srs_string_replace(path, "[2006]", buf); | 167 | path = srs_string_replace(path, "[2006]", buf); |
| 173 | } | 168 | } |
-
请 注册 或 登录 后发表评论