#62 make sure we resize with blanks

bugfix/Running100_#62
Geoffrey Merck 1 month ago
parent 24f2d5b53c
commit 4c15d6dd74

@ -521,7 +521,7 @@ void CDStarGatewayThread::addRepeater(const std::string& callsign, const std::st
CRepeaterHandler::add(callsign, band, address, port, hwType, reflector, atStartup, reconnect, dratsEnabled, frequency, offset, range, latitude, longitude, agl, description1, description2, url, handler, band1, band2, band3);
std::string repeater = callsign;
repeater.resize(LONG_CALLSIGN_LENGTH - 1U);
repeater.resize(LONG_CALLSIGN_LENGTH - 1U, ' ');
repeater += band;
// Add a fixed address and protocol for the local repeaters

Loading…
Cancel
Save

Powered by TurnKey Linux.