|
|
|
@ -88,27 +88,27 @@ bool CIRCDDBClient::sendHeard( const std::string& myCall, const std::string& myC
|
|
|
|
const std::string& rpt2, unsigned char flag1, unsigned char flag2, unsigned char flag3 )
|
|
|
|
const std::string& rpt2, unsigned char flag1, unsigned char flag2, unsigned char flag3 )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (myCall.size() != 8) {
|
|
|
|
if (myCall.size() != 8) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeard:myCall='%s' len != 8\n", myCall.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeard:myCall='%s' len != 8\n", myCall.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (myCallExt.size() != 4) {
|
|
|
|
if (myCallExt.size() != 4) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeard:myCallExt='%s' len != 4\n", myCallExt.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeard:myCallExt='%s' len != 4\n", myCallExt.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (yourCall.size() != 8) {
|
|
|
|
if (yourCall.size() != 8) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeard:yourCall='%s' len != 8\n", yourCall.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeard:yourCall='%s' len != 8\n", yourCall.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (rpt1.size() != 8) {
|
|
|
|
if (rpt1.size() != 8) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeard:rpt1='%s' len != 8\n", rpt1.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeard:rpt1='%s' len != 8\n", rpt1.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (rpt2.size() != 8) {
|
|
|
|
if (rpt2.size() != 8) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeard:rpt2='%s' len != 8\n", rpt2.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeard:rpt2='%s' len != 8\n", rpt2.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -117,7 +117,7 @@ bool CIRCDDBClient::sendHeard( const std::string& myCall, const std::string& myC
|
|
|
|
|
|
|
|
|
|
|
|
void CIRCDDBClient::sendDStarGatewayInfo(const std::string subcommand, const std::vector<std::string> parms)
|
|
|
|
void CIRCDDBClient::sendDStarGatewayInfo(const std::string subcommand, const std::vector<std::string> parms)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendDStarGatewayInfo subcommand %s parms", subcommand.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendDStarGatewayInfo subcommand %s parms", subcommand.c_str());
|
|
|
|
for(unsigned int i=0; i < parms.size();i++)
|
|
|
|
for(unsigned int i=0; i < parms.size();i++)
|
|
|
|
CLog::logInfo(" %s", parms[i].c_str());
|
|
|
|
CLog::logInfo(" %s", parms[i].c_str());
|
|
|
|
CLog::logInfo("\n");
|
|
|
|
CLog::logInfo("\n");
|
|
|
|
@ -132,27 +132,27 @@ bool CIRCDDBClient::sendHeardWithTXMsg(const std::string& myCall, const std::str
|
|
|
|
const std::string& rpt2, unsigned char flag1, unsigned char flag2, unsigned char flag3, const std::string& network_destination, const std::string& tx_message)
|
|
|
|
const std::string& rpt2, unsigned char flag1, unsigned char flag2, unsigned char flag3, const std::string& network_destination, const std::string& tx_message)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (myCall.size() != 8) {
|
|
|
|
if (myCall.size() != 8) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeardWithTXMsg:myCall='%s' len != 8\n", myCall.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeardWithTXMsg:myCall='%s' len != 8\n", myCall.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (myCallExt.size() != 4) {
|
|
|
|
if (myCallExt.size() != 4) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeardWithTXMsg:myCallExt='%s' len != 4\n", myCallExt.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeardWithTXMsg:myCallExt='%s' len != 4\n", myCallExt.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (yourCall.size() != 8) {
|
|
|
|
if (yourCall.size() != 8) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeardWithTXMsg:yourCall='%s' len != 8\n", yourCall.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeardWithTXMsg:yourCall='%s' len != 8\n", yourCall.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (rpt1.size() != 8) {
|
|
|
|
if (rpt1.size() != 8) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeardWithTXMsg:rpt1='%s' len != 8\n", rpt1.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeardWithTXMsg:rpt1='%s' len != 8\n", rpt1.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (rpt2.size() != 8) {
|
|
|
|
if (rpt2.size() != 8) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeardWithTXMsg:rpt2='%s' len != 8\n", rpt2.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeardWithTXMsg:rpt2='%s' len != 8\n", rpt2.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -161,7 +161,7 @@ bool CIRCDDBClient::sendHeardWithTXMsg(const std::string& myCall, const std::str
|
|
|
|
dest = std::string(" ");
|
|
|
|
dest = std::string(" ");
|
|
|
|
|
|
|
|
|
|
|
|
if (8 != dest.size()) {
|
|
|
|
if (8 != dest.size()) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeardWithTXMsg:network_destination='%s' len != 8\n", dest.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeardWithTXMsg:network_destination='%s' len != 8\n", dest.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -184,42 +184,42 @@ bool CIRCDDBClient::sendHeardWithTXStats( const std::string& myCall, const std::
|
|
|
|
const std::string& rpt2, unsigned char flag1, unsigned char flag2, unsigned char flag3, int num_dv_frames, int num_dv_silent_frames, int num_bit_errors)
|
|
|
|
const std::string& rpt2, unsigned char flag1, unsigned char flag2, unsigned char flag3, int num_dv_frames, int num_dv_silent_frames, int num_bit_errors)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if ((num_dv_frames <= 0) || (num_dv_frames > 65535)) {
|
|
|
|
if ((num_dv_frames <= 0) || (num_dv_frames > 65535)) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeardWithTXStats:num_dv_frames=%d not in range 1-65535\n", num_dv_frames);
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeardWithTXStats:num_dv_frames=%d not in range 1-65535\n", num_dv_frames);
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (num_dv_silent_frames > num_dv_frames) {
|
|
|
|
if (num_dv_silent_frames > num_dv_frames) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeardWithTXStats:num_dv_silent_frames=%d > num_dv_frames=%d\n", num_dv_silent_frames, num_dv_frames);
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeardWithTXStats:num_dv_silent_frames=%d > num_dv_frames=%d\n", num_dv_silent_frames, num_dv_frames);
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (num_bit_errors > (4*num_dv_frames)) { // max 4 bit errors per frame
|
|
|
|
if (num_bit_errors > (4*num_dv_frames)) { // max 4 bit errors per frame
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeardWithTXStats:num_bit_errors > (4*num_dv_frames), %d > 4*%d\n", num_bit_errors, num_dv_frames);
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeardWithTXStats:num_bit_errors > (4*num_dv_frames), %d > 4*%d\n", num_bit_errors, num_dv_frames);
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (myCall.size() != 8) {
|
|
|
|
if (myCall.size() != 8) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeardWithTXStats:myCall='%s' len != 8\n", myCall.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeardWithTXStats:myCall='%s' len != 8\n", myCall.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (myCallExt.size() != 4) {
|
|
|
|
if (myCallExt.size() != 4) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeardWithTXStats:myCallExt='%s' len != 4\n", myCallExt.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeardWithTXStats:myCallExt='%s' len != 4\n", myCallExt.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (yourCall.size() != 8) {
|
|
|
|
if (yourCall.size() != 8) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeardWithTXStats:yourCall='%s' len != 8\n", yourCall.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeardWithTXStats:yourCall='%s' len != 8\n", yourCall.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (rpt1.size() != 8) {
|
|
|
|
if (rpt1.size() != 8) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeardWithTXStats:rpt1='%s' len != 8\n", rpt1.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeardWithTXStats:rpt1='%s' len != 8\n", rpt1.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (rpt2.size() != 8) {
|
|
|
|
if (rpt2.size() != 8) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::sendHeardWithTXStats:rpt2='%s' len != 8\n", rpt2.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::sendHeardWithTXStats:rpt2='%s' len != 8\n", rpt2.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -245,7 +245,7 @@ bool CIRCDDBClient::sendHeardWithTXStats( const std::string& myCall, const std::
|
|
|
|
bool CIRCDDBClient::findGateway(const std::string& gatewayCallsign)
|
|
|
|
bool CIRCDDBClient::findGateway(const std::string& gatewayCallsign)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (8 != gatewayCallsign.size()) {
|
|
|
|
if (8 != gatewayCallsign.size()) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::findGateway:gatewayCallsign='%s' len != 8\n", gatewayCallsign.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::findGateway:gatewayCallsign='%s' len != 8\n", gatewayCallsign.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
std::string gw(gatewayCallsign);
|
|
|
|
std::string gw(gatewayCallsign);
|
|
|
|
@ -257,7 +257,7 @@ bool CIRCDDBClient::findGateway(const std::string& gatewayCallsign)
|
|
|
|
bool CIRCDDBClient::findRepeater(const std::string& repeaterCallsign)
|
|
|
|
bool CIRCDDBClient::findRepeater(const std::string& repeaterCallsign)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (8 != repeaterCallsign.size()) {
|
|
|
|
if (8 != repeaterCallsign.size()) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::findRepeater:repeaterCallsign='%s' len != 8\n", repeaterCallsign.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::findRepeater:repeaterCallsign='%s' len != 8\n", repeaterCallsign.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
std::string rptr(repeaterCallsign);
|
|
|
|
std::string rptr(repeaterCallsign);
|
|
|
|
@ -269,7 +269,7 @@ bool CIRCDDBClient::findRepeater(const std::string& repeaterCallsign)
|
|
|
|
bool CIRCDDBClient::findUser(const std::string& userCallsign)
|
|
|
|
bool CIRCDDBClient::findUser(const std::string& userCallsign)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (8 != userCallsign.size()) {
|
|
|
|
if (8 != userCallsign.size()) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::findUser:userCall='%s' len != 8\n", userCallsign.c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::findUser:userCall='%s' len != 8\n", userCallsign.c_str());
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
std::string usr(userCallsign);
|
|
|
|
std::string usr(userCallsign);
|
|
|
|
@ -292,24 +292,24 @@ bool CIRCDDBClient::receiveRepeater(std::string& repeaterCallsign, std::string&
|
|
|
|
IRCDDB_RESPONSE_TYPE rt = d->app->getReplyMessageType();
|
|
|
|
IRCDDB_RESPONSE_TYPE rt = d->app->getReplyMessageType();
|
|
|
|
|
|
|
|
|
|
|
|
if (rt != IDRT_REPEATER) {
|
|
|
|
if (rt != IDRT_REPEATER) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::receiveRepeater: unexpected response type=%d\n", rt);
|
|
|
|
CLog::logDebug("CIRCDDBClient::receiveRepeater: unexpected response type=%d\n", rt);
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
IRCMessage *m = d->app->getReplyMessage();
|
|
|
|
IRCMessage *m = d->app->getReplyMessage();
|
|
|
|
if (m == NULL) {
|
|
|
|
if (m == NULL) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::receiveRepeater: no message\n");
|
|
|
|
CLog::logDebug("CIRCDDBClient::receiveRepeater: no message\n");
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (m->getCommand().compare("IDRT_REPEATER")) {
|
|
|
|
if (m->getCommand().compare("IDRT_REPEATER")) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::receiveRepeater: wrong message type, expected 'IDRT_REPEATER, got '%s'\n", m->getCommand().c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::receiveRepeater: wrong message type, expected 'IDRT_REPEATER, got '%s'\n", m->getCommand().c_str());
|
|
|
|
delete m;
|
|
|
|
delete m;
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (3 != m->getParamCount()) {
|
|
|
|
if (3 != m->getParamCount()) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::receiveRepeater: unexpected number of message parameters, expected 3, got %d\n", m->getParamCount());
|
|
|
|
CLog::logDebug("CIRCDDBClient::receiveRepeater: unexpected number of message parameters, expected 3, got %d\n", m->getParamCount());
|
|
|
|
delete m;
|
|
|
|
delete m;
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -328,25 +328,25 @@ bool CIRCDDBClient::receiveGateway(std::string& gatewayCallsign, std::string& ad
|
|
|
|
IRCDDB_RESPONSE_TYPE rt = d->app->getReplyMessageType();
|
|
|
|
IRCDDB_RESPONSE_TYPE rt = d->app->getReplyMessageType();
|
|
|
|
|
|
|
|
|
|
|
|
if (rt != IDRT_GATEWAY) {
|
|
|
|
if (rt != IDRT_GATEWAY) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::receiveGateway: unexpected response type=%d\n", rt);
|
|
|
|
CLog::logDebug("CIRCDDBClient::receiveGateway: unexpected response type=%d\n", rt);
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
IRCMessage *m = d->app->getReplyMessage();
|
|
|
|
IRCMessage *m = d->app->getReplyMessage();
|
|
|
|
|
|
|
|
|
|
|
|
if (m == NULL) {
|
|
|
|
if (m == NULL) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::receiveGateway: no message\n");
|
|
|
|
CLog::logDebug("CIRCDDBClient::receiveGateway: no message\n");
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (m->getCommand().compare("IDRT_GATEWAY")) {
|
|
|
|
if (m->getCommand().compare("IDRT_GATEWAY")) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::receiveGateway: wrong message type, expected 'IDRT_GATEWAY' got '%s'\n", m->getCommand().c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::receiveGateway: wrong message type, expected 'IDRT_GATEWAY' got '%s'\n", m->getCommand().c_str());
|
|
|
|
delete m;
|
|
|
|
delete m;
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (2 != m->getParamCount()) {
|
|
|
|
if (2 != m->getParamCount()) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::receiveGateway: unexpected number of message parameters, expected 2, got %d\n", m->getParamCount());
|
|
|
|
CLog::logDebug("CIRCDDBClient::receiveGateway: unexpected number of message parameters, expected 2, got %d\n", m->getParamCount());
|
|
|
|
delete m;
|
|
|
|
delete m;
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -370,25 +370,25 @@ bool CIRCDDBClient::receiveUser(std::string& userCallsign, std::string& repeater
|
|
|
|
IRCDDB_RESPONSE_TYPE rt = d->app->getReplyMessageType();
|
|
|
|
IRCDDB_RESPONSE_TYPE rt = d->app->getReplyMessageType();
|
|
|
|
|
|
|
|
|
|
|
|
if (rt != IDRT_USER) {
|
|
|
|
if (rt != IDRT_USER) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::receiveUser: unexpected response type=%d\n", rt);
|
|
|
|
CLog::logDebug("CIRCDDBClient::receiveUser: unexpected response type=%d\n", rt);
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
IRCMessage * m = d->app->getReplyMessage();
|
|
|
|
IRCMessage * m = d->app->getReplyMessage();
|
|
|
|
|
|
|
|
|
|
|
|
if (m == NULL) {
|
|
|
|
if (m == NULL) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::receiveUser: no message\n");
|
|
|
|
CLog::logDebug("CIRCDDBClient::receiveUser: no message\n");
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (m->getCommand().compare("IDRT_USER")) {
|
|
|
|
if (m->getCommand().compare("IDRT_USER")) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::receiveUser: wrong message type, expected 'IDRT_USER', got '%s'\n", m->getCommand().c_str());
|
|
|
|
CLog::logDebug("CIRCDDBClient::receiveUser: wrong message type, expected 'IDRT_USER', got '%s'\n", m->getCommand().c_str());
|
|
|
|
delete m;
|
|
|
|
delete m;
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (5 != m->getParamCount()) {
|
|
|
|
if (5 != m->getParamCount()) {
|
|
|
|
CLog::logInfo("CIRCDDBClient::receiveUser: unexpected number of message parameters, expected 5, got %d\n", m->getParamCount());
|
|
|
|
CLog::logDebug("CIRCDDBClient::receiveUser: unexpected number of message parameters, expected 5, got %d\n", m->getParamCount());
|
|
|
|
delete m;
|
|
|
|
delete m;
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|