Add one byte to DMR ID lookup

This commit is contained in:
Carsten Schmiemann 2022-07-29 19:28:25 +02:00
parent a81c03b0ef
commit bbd72df6fc
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ void CDMRLookup::stop()
void CDMRLookup::findWithName(unsigned int id, class CUserDBentry *entry) void CDMRLookup::findWithName(unsigned int id, class CUserDBentry *entry)
{ {
if (id == 0xFFFFFFU) { if (id == 0xFFFFFFFU) {
entry->clear(); entry->clear();
entry->set(keyCALLSIGN, "ALL"); entry->set(keyCALLSIGN, "ALL");
return; return;
@ -115,7 +115,7 @@ std::string CDMRLookup::find(unsigned int id)
{ {
std::string callsign; std::string callsign;
if (id == 0xFFFFFFU) if (id == 0xFFFFFFFU)
return std::string("ALL"); return std::string("ALL");
class CUserDBentry entry; class CUserDBentry entry;