|
|
|
|
@ -852,7 +852,7 @@ void CDCSHandler::writeStatus(std::ofstream& file)
|
|
|
|
|
case DIR_OUTGOING:
|
|
|
|
|
if (reflector->m_linkState == DCS_LINKED) {
|
|
|
|
|
std::string text;
|
|
|
|
|
text = string_format("%04d-%02d-%02d %02d:%02d:%02d: DCS link - Type: Repeater Rptr: %s Refl: %s Dir: Outgoing\n",
|
|
|
|
|
text = CStringUtils::string_format("%04d-%02d-%02d %02d:%02d:%02d: DCS link - Type: Repeater Rptr: %s Refl: %s Dir: Outgoing\n",
|
|
|
|
|
tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
|
|
|
|
|
reflector->m_repeater.c_str(), GET_DISP_REFLECTOR(reflector).c_str());
|
|
|
|
|
file << text;
|
|
|
|
|
@ -862,7 +862,7 @@ void CDCSHandler::writeStatus(std::ofstream& file)
|
|
|
|
|
case DIR_INCOMING:
|
|
|
|
|
if (reflector->m_linkState == DCS_LINKED) {
|
|
|
|
|
std::string text;
|
|
|
|
|
text = string_format("%04d-%02d-%02d %02d:%02d:%02d: DCS link - Type: Repeater Rptr: %s Refl: %s Dir: Incoming\n",
|
|
|
|
|
text = CStringUtils::string_format("%04d-%02d-%02d %02d:%02d:%02d: DCS link - Type: Repeater Rptr: %s Refl: %s Dir: Incoming\n",
|
|
|
|
|
tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
|
|
|
|
|
reflector->m_repeater.c_str(), GET_DISP_REFLECTOR(reflector).c_str());
|
|
|
|
|
file << text;
|
|
|
|
|
|