add debug info to upnp

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1759 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2009-10-30 00:38:19 +00:00
parent 432311d5c3
commit 1d5c11c65b

View File

@ -1083,6 +1083,7 @@ bool CUPnPControlPoint::PrivateAddPortMapping(
bool CUPnPControlPoint::DeletePortMappings(
std::vector<CUPnPPortMapping> &upnpPortMapping)
{
std::cerr << "DeletePortMappings called." << std::endl;
if (!WanServiceDetected()) {
std::cerr << "UPnP Error: "
"CUPnPControlPoint::DeletePortMapping: "
@ -1137,7 +1138,9 @@ bool CUPnPControlPoint::PrivateDeletePortMapping(
bool ret = true;
for (ServiceMap::iterator it = m_ServiceMap.begin();
it != m_ServiceMap.end(); ++it) {
std::cerr << "Sending a delete port mapping action." << std::endl;
ret &= it->second->Execute(actionName, argval);
std::cerr << "Delete port mapping action finished." << std::endl;
}
return ret;