diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-03-03 16:42:15 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-03-03 16:42:15 +0100 |
commit | 86475a684dd111fd3c0fbdf177fc6e7f01708045 (patch) | |
tree | d942cebb69d37b73cf03c5f8643ba5e7f7c1ccf7 /tests/decperf.cxx | |
parent | ba6fbfe368bc2f02a2947138fda0c0d170ae1cf3 (diff) | |
download | tigervnc-86475a684dd111fd3c0fbdf177fc6e7f01708045.tar.gz tigervnc-86475a684dd111fd3c0fbdf177fc6e7f01708045.zip |
Move things around slightly so the compiler can track cc
Diffstat (limited to 'tests/decperf.cxx')
-rw-r--r-- | tests/decperf.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/decperf.cxx b/tests/decperf.cxx index 5763976c..fe7b0322 100644 --- a/tests/decperf.cxx +++ b/tests/decperf.cxx @@ -147,7 +147,12 @@ static double runTest(const char *fn) 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) { |