Indendation fix

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2014-02-12 07:33:07 -05:00
parent 62eb9eb76d
commit f67f52751f

View file

@ -863,14 +863,12 @@ static void opServe(Strings opFlags, Strings opArgs)
break;
}
switch (qCmd) {
case qCmdHave:
{
case qCmdHave: {
PathSet paths = readStrings<PathSet>(in);
writeStrings(store->queryValidPaths(paths), out);
}
break;
case qCmdInfo:
{
}
case qCmdInfo: {
PathSet paths = readStrings<PathSet>(in);
// !!! Maybe we want a queryPathInfos?
foreach (PathSet::iterator, i, paths) {
@ -885,8 +883,8 @@ static void opServe(Strings opFlags, Strings opArgs)
writeLongLong(info.narSize, out);
}
writeString("", out);
}
break;
}
default:
throw Error(format("unknown serve query `%1%'") % cmd);
}