{
if(propertySinkMap.find(property) == propertySinkMap.end())
{
- DebugOut(1)<<__FUNCTION__<<"property not supported: "<<property;
+ DebugOut(1)<<__FUNCTION__<<"property not supported: "<<property<<endl;
return;
}
DebugOut(0)<<"websocketsink polling error."<<endl;
}
- if (! condition & G_IO_IN)
- {
- //Don't need to do anything
-
- return true;
- }
-
if (condition & G_IO_HUP)
{
//Hang up. Returning false closes out the GIOChannel.
pollstruct.events = condition;
pollstruct.revents = condition;
libwebsocket_service_fd(context,&pollstruct);
+
return true;
}