commit | 86475a684dd111fd3c0fbdf177fc6e7f01708045 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Tue Mar 03 16:42:15 2015 +0100 |
committer | Pierre Ossman <ossman@cendio.se> | Tue Mar 03 16:42:15 2015 +0100 |
tree | d942cebb69d37b73cf03c5f8643ba5e7f7c1ccf7 | |
parent | ba6fbfe368bc2f02a2947138fda0c0d170ae1cf3 [diff] [blame] |
Move things around slightly so the compiler can track cc
diff --git a/tests/encperf.cxx b/tests/encperf.cxx index bbaa8fb..6b1119a 100644 --- a/tests/encperf.cxx +++ b/tests/encperf.cxx
@@ -339,7 +339,12 @@ try { cc = new CConn(fn); + } catch (rdr::Exception e) { + fprintf(stderr, "Failed to open rfb file: %s\n", e.str()); + exit(1); + } + try { while (true) cc->processMsg(); } catch (rdr::EndOfStream e) {