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:
parent
6624b8acca
commit
f551ff5ae8
6 changed files with 22 additions and 12 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue