1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

srs_info use not available variable (#813)

srs_info use not available variable.
Variable has been removed or changed.
This commit is contained in:
Chengdong Zhang 2017-03-25 12:42:37 +08:00 committed by winlin
parent 9ab5e6a916
commit 8ad934a8a4
7 changed files with 27 additions and 24 deletions

View file

@ -211,10 +211,10 @@ int SrsRtspListener::listen(string i, int p)
srs_error("rtsp caster listen failed. ret=%d", ret);
return ret;
}
srs_info("listen thread cid=%d, current_cid=%d, "
// pthread is removed?
srs_info("listen thread current_cid=%d, "
"listen at port=%d, type=%d, fd=%d started success, ep=%s:%d",
pthread->cid(), _srs_context->get_id(), port, type, fd, ip.c_str(), port);
_srs_context->get_id(), port, type, listener->fd(), ip.c_str(), port);
srs_trace("%s listen at tcp://%s:%d, fd=%d", srs_listener_type2string(type).c_str(), ip.c_str(), port, listener->fd());
@ -274,9 +274,10 @@ int SrsHttpFlvListener::listen(string i, int p)
return ret;
}
// pthread is removed?
srs_info("listen thread cid=%d, current_cid=%d, "
"listen at port=%d, type=%d, fd=%d started success, ep=%s:%d",
pthread->cid(), _srs_context->get_id(), port, type, fd, ip.c_str(), port);
_srs_context->get_id(), port, type, listener->fd(), ip.c_str(), port);
srs_trace("%s listen at tcp://%s:%d, fd=%d", srs_listener_type2string(type).c_str(), ip.c_str(), port, listener->fd());