intliang
Committed by winlin

fixed crash by improper srs_info use.

@@ -201,7 +201,7 @@ namespace internal { @@ -201,7 +201,7 @@ namespace internal {
201 srs_warn("thread %s on before cycle failed, ignored and retry, ret=%d", _name, ret); 201 srs_warn("thread %s on before cycle failed, ignored and retry, ret=%d", _name, ret);
202 goto failed; 202 goto failed;
203 } 203 }
204 - srs_info("thread %s on before cycle success"); 204 + srs_info("thread %s on before cycle success", _name);
205 205
206 if ((ret = handler->cycle()) != ERROR_SUCCESS) { 206 if ((ret = handler->cycle()) != ERROR_SUCCESS) {
207 if (!srs_is_client_gracefully_close(ret) && !srs_is_system_control_error(ret)) { 207 if (!srs_is_client_gracefully_close(ret) && !srs_is_system_control_error(ret)) {