aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-log.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-18 14:55:38 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-18 14:55:38 +0300
commit732dd69e4d9e1b70edffad9829e34d84155cd91b (patch)
tree4bc1e8b26b1947b982ceb593257c5ab3f1cb268a /mod/mod-build-log.cxx
parent67d190d15e5a8ad865dbbf21fdf7dcb7b1168cdd (diff)
Adapt to non-optional buildtab target
Diffstat (limited to 'mod/mod-build-log.cxx')
-rw-r--r--mod/mod-build-log.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/mod-build-log.cxx b/mod/mod-build-log.cxx
index f9fb0e5..b667c08 100644
--- a/mod/mod-build-log.cxx
+++ b/mod/mod-build-log.cxx
@@ -200,8 +200,7 @@ handle (request& rq, response& rs)
<< "config: " << b->configuration << endl
<< "machine: " << b->machine << " (" << b->machine_summary << ")"
<< endl
- << "target: " << (b->target ? b->target->string () : "<default>")
- << endl
+ << "target: " << b->target.string () << endl
<< "timestamp: ";
butl::to_stream (os, b->timestamp, "%Y-%m-%d %H:%M:%S%[.N] %Z", true, true);