mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine print constant string.
This commit is contained in:
parent
e9915c3bd7
commit
b8461ba236
1 changed files with 4 additions and 4 deletions
|
@ -271,7 +271,7 @@ void show_macro_features()
|
||||||
ss << ", stat:" << srs_bool2switch(true);
|
ss << ", stat:" << srs_bool2switch(true);
|
||||||
// sc(stream-caster)
|
// sc(stream-caster)
|
||||||
ss << ", sc:" << srs_bool2switch(true);
|
ss << ", sc:" << srs_bool2switch(true);
|
||||||
srs_trace(ss.str().c_str());
|
srs_trace("%s", ss.str().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (true) {
|
if (true) {
|
||||||
|
@ -300,7 +300,7 @@ void show_macro_features()
|
||||||
<< ", writev:" << sysconf(_SC_IOV_MAX) << ", encoding:" << (srs_is_little_endian()? "little-endian":"big-endian")
|
<< ", writev:" << sysconf(_SC_IOV_MAX) << ", encoding:" << (srs_is_little_endian()? "little-endian":"big-endian")
|
||||||
<< ", HZ:" << (int)sysconf(_SC_CLK_TCK);
|
<< ", HZ:" << (int)sysconf(_SC_CLK_TCK);
|
||||||
|
|
||||||
srs_trace(ss.str().c_str());
|
srs_trace("%s", ss.str().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (true) {
|
if (true) {
|
||||||
|
@ -318,7 +318,7 @@ void show_macro_features()
|
||||||
#endif
|
#endif
|
||||||
ss << ", default:" << SRS_PERF_MR_ENABLED << ", sleep:" << srsu2msi(SRS_PERF_MR_SLEEP) << "ms";
|
ss << ", default:" << SRS_PERF_MR_ENABLED << ", sleep:" << srsu2msi(SRS_PERF_MR_SLEEP) << "ms";
|
||||||
|
|
||||||
srs_trace(ss.str().c_str());
|
srs_trace("%s", ss.str().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (true) {
|
if (true) {
|
||||||
|
@ -354,7 +354,7 @@ void show_macro_features()
|
||||||
ss << "auto(guess by merged write)";
|
ss << "auto(guess by merged write)";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
srs_trace(ss.str().c_str());
|
srs_trace("%s", ss.str().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
// others
|
// others
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue