Add verbosity

feature/AudioLoginLogoff
Geoffrey Merck 5 years ago
parent 45588d758f
commit be67768c83

@ -275,11 +275,11 @@ void CSGSXLThread::processIrcDDB()
if (!res)
break;
if (address.size()) {
//printf("USER: %s %s %s %s\n", user.c_str(), repeater.c_str(), gateway.c_str(), address.c_str());
if (!address.empty()) {
printf("USER: %s %s %s %s\n", user.c_str(), repeater.c_str(), gateway.c_str(), address.c_str());
m_cache.updateUser(user, repeater, gateway, address, timestamp, DP_DEXTRA, false, false);
//} else {
// printf("USER: %s has no IP address!\n", user.c_str());
} else {
printf("USER: %s has no IP address!\n", user.c_str());
}
}
break;
@ -290,11 +290,11 @@ void CSGSXLThread::processIrcDDB()
if (!res)
break;
if (address.size()) {
// printf("REPEATER: %s %s %s\n", repeater.c_str(), gateway.c_str(), address.c_str());
if (!address.empty()) {
printf("REPEATER: %s %s %s\n", repeater.c_str(), gateway.c_str(), address.c_str());
m_cache.updateRepeater(repeater, gateway, address, DP_DEXTRA, false, false);
// } else {
// printf("REPEATER: %s NOT FOUND\n", repeater.c_str());
} else {
printf("REPEATER: %s NOT FOUND\n", repeater.c_str());
}
}
break;
@ -309,11 +309,11 @@ void CSGSXLThread::processIrcDDB()
CDCSHandler::gatewayUpdate(gateway, address);
if (0 == address.size()) {
// printf("GATEWAY: %s %s\n", gateway.c_str(), address.c_str());
if (!address.empty()) {
printf("GATEWAY: %s %s\n", gateway.c_str(), address.c_str());
m_cache.updateGateway(gateway, address, DP_DEXTRA, false, false);
// } else {
// printf("GATEWAY: %s NOT FOUND\n", gateway.c_str());
} else {
printf("GATEWAY: %s NOT FOUND\n", gateway.c_str());
}
}
break;

Loading…
Cancel
Save

Powered by TurnKey Linux.