From: Thomas Geymayer Date: Sun, 15 Jun 2014 14:36:02 +0000 (+0200) Subject: pkg: allow 'installed' as filter criterion. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=33d23026c4a4337bdfd175b9eef2d3c71eb70c62;p=flightgear.git pkg: allow 'installed' as filter criterion. --- diff --git a/src/Network/HTTPClient.cxx b/src/Network/HTTPClient.cxx index b60228819..00bd0b3c1 100644 --- a/src/Network/HTTPClient.cxx +++ b/src/Network/HTTPClient.cxx @@ -183,6 +183,8 @@ static SGPropertyNode_ptr queryPropsFromHash(const nasal::Hash& h) SGPropertyNode_ptr tag = props->getChild("tag", tagCount++, true); tag->setStringValue(*tagIt); } + } else if (key == "installed") { + props->setBoolValue(key, it->getValue()); } else { SG_LOG(SG_GENERAL, SG_WARN, "unknown filter term in hash:" << key); }