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

complete the consts refine

This commit is contained in:
winlin 2014-07-20 13:45:54 +08:00
parent 1afa6ed607
commit 8497b22d4a
9 changed files with 349 additions and 349 deletions

View file

@ -65,14 +65,14 @@ void SrsHttpHeartbeat::heartbeat()
}
std::stringstream ss;
ss << JOBJECT_START
<< JFIELD_STR("device_id", device_id) << JFIELD_CONT
<< JFIELD_STR("ip", ip);
ss << __SRS_JOBJECT_START
<< __SRS_JFIELD_STR("device_id", device_id) << __SRS_JFIELD_CONT
<< __SRS_JFIELD_STR("ip", ip);
if (_srs_config->get_heartbeat_summaries()) {
ss << JFIELD_CONT << JFIELD_ORG("summaries", "");
ss << __SRS_JFIELD_CONT << __SRS_JFIELD_ORG("summaries", "");
srs_api_dump_summaries(ss);
}
ss << JOBJECT_END;
ss << __SRS_JOBJECT_END;
std::string data = ss.str();
std::string res;