mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fixed crash by improper srs_info use.
This commit is contained in:
parent
f87646d489
commit
3fbe9d2442
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ namespace internal {
|
||||||
srs_warn("thread %s on before cycle failed, ignored and retry, ret=%d", _name, ret);
|
srs_warn("thread %s on before cycle failed, ignored and retry, ret=%d", _name, ret);
|
||||||
goto failed;
|
goto failed;
|
||||||
}
|
}
|
||||||
srs_info("thread %s on before cycle success");
|
srs_info("thread %s on before cycle success", _name);
|
||||||
|
|
||||||
if ((ret = handler->cycle()) != ERROR_SUCCESS) {
|
if ((ret = handler->cycle()) != ERROR_SUCCESS) {
|
||||||
if (!srs_is_client_gracefully_close(ret) && !srs_is_system_control_error(ret)) {
|
if (!srs_is_client_gracefully_close(ret) && !srs_is_system_control_error(ret)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue