aboutsummaryrefslogtreecommitdiffstats
path: root/tests/encperf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/encperf.cxx')
-rw-r--r--tests/encperf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/encperf.cxx b/tests/encperf.cxx
index 2628b46a..bbaa8fb5 100644
--- a/tests/encperf.cxx
+++ b/tests/encperf.cxx
@@ -337,9 +337,9 @@ static double runTest(const char *fn, double& ratio, unsigned long long& bytes,
CConn *cc;
double time;
- cc = new CConn(fn);
-
try {
+ cc = new CConn(fn);
+
while (true)
cc->processMsg();
} catch (rdr::EndOfStream e) {