From 3fbe9d2442df696e6cb55ad24b1c454a24ce4ae1 Mon Sep 17 00:00:00 2001 From: intliang Date: Thu, 24 Mar 2016 15:27:25 +0800 Subject: [PATCH] fixed crash by improper srs_info use. --- trunk/src/app/srs_app_thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/app/srs_app_thread.cpp b/trunk/src/app/srs_app_thread.cpp index 92dbf6333..8a366470d 100755 --- a/trunk/src/app/srs_app_thread.cpp +++ b/trunk/src/app/srs_app_thread.cpp @@ -201,7 +201,7 @@ namespace internal { srs_warn("thread %s on before cycle failed, ignored and retry, ret=%d", _name, ret); 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 (!srs_is_client_gracefully_close(ret) && !srs_is_system_control_error(ret)) {