false positive on activeRequests
[profile/ivi/automotive-message-broker.git] / plugins / websocket / websocketsource.cpp
index 5ac26d3..b576765 100644 (file)
@@ -87,7 +87,7 @@ void WebSocketSource::checkSubscriptions()
        {
                VehicleProperty::Property prop = queuedRequests.front();
                queuedRequests.pop_front();
-               if (ListPlusPlus<VehicleProperty::Property>(&activeRequests).contains(prop))
+               if (contains(activeRequests,prop))
                {
                        return;
                }
@@ -463,7 +463,7 @@ static int callback_http_only(libwebsocket_context *context,struct libwebsocket
 }
 void WebSocketSource::setSupported(PropertyList list)
 {
-       DebugOut() <<__SMALLFILE__ << ":" << __LINE__ <<"SET SUPPORTED"<<endl;
+       DebugOut() <<__SMALLFILE__ << ":" << __LINE__ <<" "<< __FUNCTION__ <<endl;
        m_supportedProperties = list;
        m_re->updateSupported(list,PropertyList(),this);
 }