aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/RREDecoder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/RREDecoder.cxx')
-rw-r--r--common/rfb/RREDecoder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/RREDecoder.cxx b/common/rfb/RREDecoder.cxx
index 4f2db071..53ddc2da 100644
--- a/common/rfb/RREDecoder.cxx
+++ b/common/rfb/RREDecoder.cxx
@@ -107,7 +107,7 @@ void RREDecoder::rreDecode(const Rect& r, rdr::InStream* is,
int h = is->readU16();
if (((x+w) > r.width()) || ((y+h) > r.height()))
- throw ProtocolException("RRE decode error");
+ throw protocol_error("RRE decode error");
pb->fillRect(pf, Rect(r.tl.x+x, r.tl.y+y, r.tl.x+x+w, r.tl.y+y+h), &pix);
}