summaryrefslogtreecommitdiff
path: root/src/node.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-11-28 23:18:43 (GMT)
committerMarius Kintel <marius@kintel.net>2011-11-28 23:18:43 (GMT)
commitad0f9f59c9bec8c7974bb8155e4e4871f6492bb9 (patch)
tree732a6adccbb954e76ebe49ad5a9813b5926b8a7f /src/node.cc
parent18c44b2deeeb2ce867b464a913c8a33c2268e22a (diff)
bugfix: Using the % modifier caused the cache to return an empty object even after removing the %
Diffstat (limited to 'src/node.cc')
-rw-r--r--src/node.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node.cc b/src/node.cc
index a4d70be..eccb9a6 100644
--- a/src/node.cc
+++ b/src/node.cc
@@ -96,6 +96,8 @@ void AbstractNode::progress_report() const
std::ostream &operator<<(std::ostream &stream, const AbstractNode &node)
{
+ // FIXME: Don't use deep access to modinst members
+ if (node.modinst->tag_background) stream << "%";
stream << node.toString();
return stream;
}
contact: Jan Huwald // Impressum