--- a/tcpCode.cpp +++ b/tcpCode.cpp @@ -775,7 +775,7 @@ QByteArray datas = HAMLIBsock->readAll(); - qDebug(datas.data()); + qDebug("SetPTT Error: %s", datas.data()); } --- a/ax25.c +++ b/ax25.c @@ -1758,7 +1758,7 @@ -get_monitor_path(Byte * path, char * mycall, char * corrcall, char * digi) +int get_monitor_path(Byte * path, char * mycall, char * corrcall, char * digi) { Byte * digiptr = digi; @@ -1780,6 +1780,8 @@ *(digi++) = '*'; } *digi = 0; + + return 0; } --- a/ax25_l2.c +++ b/ax25_l2.c @@ -374,7 +374,7 @@ void delete_I_FRM_port(TAX25Port * AX25Sess) { string * frame; - string path = { 0 }; + Byte path[80]; string data= { 0 }; Byte pid, nr, ns, f_type, f_id, rpt, cr, pf; @@ -386,7 +386,7 @@ optimize = TRUE; frame = Strings(&AX25Sess->frame_buf, i); - decode_frame(frame->Data, frame->Length, &path, &data, &pid, &nr, &ns, &f_type, &f_id, &rpt, &pf, &cr); + decode_frame(frame->Data, frame->Length, path, &data, &pid, &nr, &ns, &f_type, &f_id, &rpt, &pf, &cr); if (f_id == I_I) { @@ -916,7 +916,7 @@ while (i != AX25Sess->hi_vs) { - i = (i++) & 7; + i = (i + 1) & 7; need_frame[index++] = i + '0'; if (index > 10) {