aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-upload.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-upload.cxx')
-rw-r--r--mod/mod-upload.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/mod/mod-upload.cxx b/mod/mod-upload.cxx
index 1474363..9f8b9de 100644
--- a/mod/mod-upload.cxx
+++ b/mod/mod-upload.cxx
@@ -82,9 +82,6 @@ init (scanner& s)
build_result_module::init (*options_, *options_);
}
-
- if (options_->root ().empty ())
- options_->root (dir_path ("/"));
}
bool brep::upload::
@@ -499,8 +496,8 @@ handle (request& rq, response& rs)
s.next ("toolchain-version", sess.toolchain_version.string ());
s.next ("repository-name", rep->canonical_name);
- s.next ("machine-name", bld->machine);
- s.next ("machine-summary", bld->machine_summary);
+ s.next ("machine-name", bld->machine.name);
+ s.next ("machine-summary", bld->machine.summary);
// Serialize the request parameters.
//