Skip to content
Snippets Groups Projects
Commit abf34c31 authored by Carsten Patzke's avatar Carsten Patzke
Browse files

[Receiver] Fixed Online <-> Offline name mixup

parent 86ac79a6
No related branches found
No related tags found
No related merge requests found
......@@ -153,20 +153,20 @@ uint64_t Request::GetMetaDataSize() const {
return request_header_.meta_size;
}
void Request::SetOnlinePath(std::string facility) {
offline_path_ = std::move(facility);
void Request::SetOnlinePath(std::string path) {
online_path_ = std::move(path);
}
void Request::SetOfflinePath(std::string path) {
online_path_ = std::move(path);
offline_path_ = std::move(path);
}
const std::string& Request::GetOnlinePath() const {
return offline_path_;
return online_path_;
}
const std::string& Request::GetOfflinePath() const {
return online_path_;
return offline_path_;
}
bool Request::WasAlreadyProcessed() const {
......@@ -189,4 +189,4 @@ Error Request::CheckForDuplicates() {
return check_duplicate_request_handler_->ProcessRequest(this);
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment