winlin

Merge branch '2.0release' into develop

@@ -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 }