Remove unneeded logging from ZRLE decoder
We will log the exception, so avoid direct writes to stderr by
simply removing these log lines.
diff --git a/common/rfb/zrleDecode.h b/common/rfb/zrleDecode.h
index b814867..32b5c92 100644
--- a/common/rfb/zrleDecode.h
+++ b/common/rfb/zrleDecode.h
@@ -134,7 +134,6 @@
} while (b == 255);
if (end - ptr < len) {
- fprintf (stderr, "ZRLE decode error\n");
throw Exception ("ZRLE decode error");
}
@@ -158,7 +157,6 @@
} while (b == 255);
if (end - ptr < len) {
- fprintf (stderr, "ZRLE decode error\n");
throw Exception ("ZRLE decode error");
}
}