summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2019-04-29 14:13:16 +0200
committerPierre Ossman <ossman@cendio.se>2019-04-29 14:14:00 +0200
commit2ff61a285efda80cca7f1855aca23b99149bac8c (patch)
treeac218d8aefaa343dc31f11cbd75117571a01cb35
parente9e7da9b7adcf33dece522514c323d392913041b (diff)
downloadtigervnc-2ff61a285efda80cca7f1855aca23b99149bac8c.tar.gz
tigervnc-2ff61a285efda80cca7f1855aca23b99149bac8c.zip
Remove unneeded logging from ZRLE decoder
We will log the exception, so avoid direct writes to stderr by simply removing these log lines.
-rw-r--r--common/rfb/zrleDecode.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/rfb/zrleDecode.h b/common/rfb/zrleDecode.h
index b8148672..32b5c92b 100644
--- a/common/rfb/zrleDecode.h
+++ b/common/rfb/zrleDecode.h
@@ -134,7 +134,6 @@ void ZRLE_DECODE (const Rect& r, rdr::InStream* is,
} while (b == 255);
if (end - ptr < len) {
- fprintf (stderr, "ZRLE decode error\n");
throw Exception ("ZRLE decode error");
}
@@ -158,7 +157,6 @@ void ZRLE_DECODE (const Rect& r, rdr::InStream* is,
} while (b == 255);
if (end - ptr < len) {
- fprintf (stderr, "ZRLE decode error\n");
throw Exception ("ZRLE decode error");
}
}