diff options
author | Shea Levy <shea@shealevy.com> | 2014-02-12T12·27-0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-02-12T12·27-0500 |
commit | 62eb9eb76ddacc1aa97400bef9f25b6ca4c50c8c (patch) | |
tree | 613a0d84ab6dbba3ccec4cda76a476425e9e244a /src | |
parent | 7438f0bc2bc4b92bddf7159744ab2923e34b7457 (diff) |
Remove relic of old code
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/download-via-ssh/download-via-ssh.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/download-via-ssh/download-via-ssh.cc b/src/download-via-ssh/download-via-ssh.cc index dee4fd78c9d0..d85f1572f33e 100644 --- a/src/download-via-ssh/download-via-ssh.cc +++ b/src/download-via-ssh/download-via-ssh.cc @@ -67,7 +67,6 @@ static void query(std::pair<FdSink, FdSource> & pipes) { tokenized.pop_front(); if (cmd == "have") { writeInt(qCmdHave, pipes.first); - foreach (Strings::iterator, i, tokenized) writeStrings(tokenized, pipes.first); pipes.first.flush(); PathSet paths = readStrings<PathSet>(pipes.second); @@ -75,7 +74,6 @@ static void query(std::pair<FdSink, FdSource> & pipes) { std::cout << *i << std::endl; } else if (cmd == "info") { writeInt(qCmdInfo, pipes.first); - foreach (Strings::iterator, i, tokenized) writeStrings(tokenized, pipes.first); pipes.first.flush(); for (Path path = readString(pipes.second); !path.empty(); path = readString(pipes.second)) { |