Commit 8545975d authored by Larry Sachs's avatar Larry Sachs Committed by Rick Bell

Ensure cached device proxy is still valid

Change-Id: Id0470fef38c2a8dbed44fb1726d7dcecc7b6e5a1
Signed-off-by: Larry Sachs's avatarLarry Sachs <>
Reviewed-on: default avatarjenkins-iotivity <>
Reviewed-by: George Nash's avatarGeorge Nash <>
Reviewed-by: default avatarRick Bell <>
parent e9ee830f
......@@ -159,6 +159,11 @@ OCEntityHandlerResult UpnpDevice::processGetRequest(OCRepPayload *payload, strin
if (UPNP_DEVICE_RESOURCE == resourceType)
GUPnPDeviceInfo *deviceInfo = GUPNP_DEVICE_INFO(m_proxy);
if (! GUPNP_IS_DEVICE_INFO(deviceInfo))
ERROR_PRINT("GUPNP_DEVICE_INFO failed for proxy for " << m_uri);
return OC_EH_ERROR;
if (!OCRepPayloadSetPropString(payload, DEVICE_TYPE.c_str(), m_deviceType.c_str()))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment