winlin

refine the config code.

@@ -1337,8 +1337,8 @@ int SrsConfig::check_config() @@ -1337,8 +1337,8 @@ int SrsConfig::check_config()
1337 && n != "max_connections" && n != "daemon" && n != "heartbeat" 1337 && n != "max_connections" && n != "daemon" && n != "heartbeat"
1338 && n != "http_api" && n != "stats" && n != "vhost" && n != "pithy_print_ms" 1338 && n != "http_api" && n != "stats" && n != "vhost" && n != "pithy_print_ms"
1339 && n != "http_stream" && n != "http_server" && n != "stream_caster" 1339 && n != "http_stream" && n != "http_server" && n != "stream_caster"
1340 - && n != "utc_time")  
1341 - { 1340 + && n != "utc_time"
  1341 + ) {
1342 ret = ERROR_SYSTEM_CONFIG_INVALID; 1342 ret = ERROR_SYSTEM_CONFIG_INVALID;
1343 srs_error("unsupported directive %s, ret=%d", n.c_str(), ret); 1343 srs_error("unsupported directive %s, ret=%d", n.c_str(), ret);
1344 return ret; 1344 return ret;