summaryrefslogtreecommitdiff
path: root/src/FileEntry.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FileEntry.cc')
-rw-r--r--src/FileEntry.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FileEntry.cc b/src/FileEntry.cc
index 95b3f50a..453c6816 100644
--- a/src/FileEntry.cc
+++ b/src/FileEntry.cc
@@ -184,8 +184,9 @@ std::shared_ptr<Request> FileEntry::getRequestWithInFlightHosts(
continue;
}
- return req;
+ break;
}
+ return req;
}
std::shared_ptr<Request> FileEntry::getRequest(