winlin

show first message when not show version.

@@ -1359,6 +1359,9 @@ int SrsConfig::parse_options(int argc, char** argv) @@ -1359,6 +1359,9 @@ int SrsConfig::parse_options(int argc, char** argv)
1359 exit(0); 1359 exit(0);
1360 } 1360 }
1361 1361
  1362 + // first hello message.
  1363 + srs_trace(RTMP_SIG_SRS_SERVER);
  1364 +
1362 if (config_file.empty()) { 1365 if (config_file.empty()) {
1363 ret = ERROR_SYSTEM_CONFIG_INVALID; 1366 ret = ERROR_SYSTEM_CONFIG_INVALID;
1364 srs_error("config file not specified, see help: %s -h, ret=%d", argv[0], ret); 1367 srs_error("config file not specified, see help: %s -h, ret=%d", argv[0], ret);
@@ -248,9 +248,6 @@ void check_macro_features() @@ -248,9 +248,6 @@ void check_macro_features()
248 int main(int argc, char** argv) 248 int main(int argc, char** argv)
249 { 249 {
250 int ret = ERROR_SUCCESS; 250 int ret = ERROR_SUCCESS;
251 -  
252 - // first hello message.  
253 - srs_trace(RTMP_SIG_SRS_SERVER);  
254 251
255 // TODO: support both little and big endian. 252 // TODO: support both little and big endian.
256 srs_assert(srs_is_little_endian()); 253 srs_assert(srs_is_little_endian());