view: output counters only when called in prefetch mode AND when csync is enabled

This commit is contained in:
Andrew Dolgov 2008-06-03 09:18:08 +01:00
parent 3bfc7a2ff1
commit 3908a1af90
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@
} }
} }
if ($mode == "prefetch" || $csync) { if ($mode == "prefetch" && $csync) {
print "<counters>"; print "<counters>";
getAllCounters($link, $omode); getAllCounters($link, $omode);
print "</counters>"; print "</counters>";