--- 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 @@ -1780,6 +1780,8 @@ *(digi++) = '*'; } *digi = 0; + + return 0; }