|
a/libupnpp/device.cxx |
|
b/libupnpp/device.cxx |
|
... |
|
... |
144 |
LOGERR("UpnpDevice::sCallBack: unknown event " << et << endl);
|
144 |
LOGERR("UpnpDevice::sCallBack: unknown event " << et << endl);
|
145 |
return UPNP_E_INVALID_PARAM;
|
145 |
return UPNP_E_INVALID_PARAM;
|
146 |
}
|
146 |
}
|
147 |
// LOGDEB("UpnpDevice::sCallBack: deviceid[" << deviceid << "]" << endl);
|
147 |
// LOGDEB("UpnpDevice::sCallBack: deviceid[" << deviceid << "]" << endl);
|
148 |
|
148 |
|
149 |
unordered_map<std::string, UpnpDevice *> *devmap =
|
|
|
150 |
(unordered_map<std::string, UpnpDevice *> *) tok;
|
|
|
151 |
unordered_map<std::string, UpnpDevice *>::iterator it =
|
149 |
unordered_map<std::string, UpnpDevice *>::iterator it =
|
152 |
o_devices.find(deviceid);
|
150 |
o_devices.find(deviceid);
|
153 |
|
151 |
|
154 |
if (it == o_devices.end()) {
|
152 |
if (it == o_devices.end()) {
|
155 |
LOGERR("UpnpDevice::sCallBack: Device not found: [" <<
|
153 |
LOGERR("UpnpDevice::sCallBack: Device not found: [" <<
|