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

Log: Use string compare function

This commit is contained in:
winlin 2020-07-05 23:49:47 +08:00
parent 6624b8acca
commit f551ff5ae8
6 changed files with 22 additions and 12 deletions

View file

@ -373,7 +373,7 @@ srs_error_t SrsPublishRecvThread::consume(SrsCommonMessage* msg)
srs_error_t err = srs_success;
// when cid changed, change it.
if (!ncid.equals(cid)) {
if (ncid.compare(cid)) {
_srs_context->set_id(ncid);
cid = ncid;
}