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

UTest: Fix utest warnings.

This commit is contained in:
winlin 2022-10-05 22:33:12 +08:00
parent cfbbe3044f
commit 9c81a0e1bd
8 changed files with 603 additions and 560 deletions

View file

@ -91,6 +91,11 @@ std::string SrsCplxError::summary() {
if (_summary.empty()) {
stringstream ss;
ss << "code=" << code;
string code_str = srs_error_code_str(this);
if (!code_str.empty()) ss << "(" << code_str << ")";
SrsCplxError* next = this;
while (next) {
ss << " : " << next->msg;