Small cleanups.

This commit is contained in:
Jonathan Naylor 2018-06-07 07:17:55 +01:00
parent 9dc06e3350
commit 54173174d0
6 changed files with 14 additions and 16 deletions

View file

@ -128,7 +128,7 @@ bool CDAPNETNetwork::read()
unsigned int addr = ::strtoul(p3, NULL, 16);
unsigned int func = ::strtoul(p4, NULL, 10);
m_message = new CPOCSAGMessage(type == 1U ? TYPE_ALPHA_NUMERIC : TYPE_NUMERIC, addr, func, (unsigned char*)p5, ::strlen(p5));
m_message = new CPOCSAGMessage(type, addr, func, (unsigned char*)p5, ::strlen(p5));
id = (id + 1U) % 256UL;