show first message when not show version.
This commit is contained in:
parent
26211abf2e
commit
dc38ae1687
|
|
@ -1359,6 +1359,9 @@ int SrsConfig::parse_options(int argc, char** argv)
|
|||
exit(0);
|
||||
}
|
||||
|
||||
// first hello message.
|
||||
srs_trace(RTMP_SIG_SRS_SERVER);
|
||||
|
||||
if (config_file.empty()) {
|
||||
ret = ERROR_SYSTEM_CONFIG_INVALID;
|
||||
srs_error("config file not specified, see help: %s -h, ret=%d", argv[0], ret);
|
||||
|
|
|
|||
|
|
@ -248,9 +248,6 @@ void check_macro_features()
|
|||
int main(int argc, char** argv)
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
// first hello message.
|
||||
srs_trace(RTMP_SIG_SRS_SERVER);
|
||||
|
||||
// TODO: support both little and big endian.
|
||||
srs_assert(srs_is_little_endian());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user