Remove relic of old code
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
7438f0bc2b
commit
62eb9eb76d
1 changed files with 0 additions and 2 deletions
|
@ -67,7 +67,6 @@ static void query(std::pair<FdSink, FdSource> & pipes) {
|
||||||
tokenized.pop_front();
|
tokenized.pop_front();
|
||||||
if (cmd == "have") {
|
if (cmd == "have") {
|
||||||
writeInt(qCmdHave, pipes.first);
|
writeInt(qCmdHave, pipes.first);
|
||||||
foreach (Strings::iterator, i, tokenized)
|
|
||||||
writeStrings(tokenized, pipes.first);
|
writeStrings(tokenized, pipes.first);
|
||||||
pipes.first.flush();
|
pipes.first.flush();
|
||||||
PathSet paths = readStrings<PathSet>(pipes.second);
|
PathSet paths = readStrings<PathSet>(pipes.second);
|
||||||
|
@ -75,7 +74,6 @@ static void query(std::pair<FdSink, FdSource> & pipes) {
|
||||||
std::cout << *i << std::endl;
|
std::cout << *i << std::endl;
|
||||||
} else if (cmd == "info") {
|
} else if (cmd == "info") {
|
||||||
writeInt(qCmdInfo, pipes.first);
|
writeInt(qCmdInfo, pipes.first);
|
||||||
foreach (Strings::iterator, i, tokenized)
|
|
||||||
writeStrings(tokenized, pipes.first);
|
writeStrings(tokenized, pipes.first);
|
||||||
pipes.first.flush();
|
pipes.first.flush();
|
||||||
for (Path path = readString(pipes.second); !path.empty(); path = readString(pipes.second)) {
|
for (Path path = readString(pipes.second); !path.empty(); path = readString(pipes.second)) {
|
||||||
|
|
Loading…
Reference in a new issue