summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-11 16:27:03 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-11 16:27:03 +0100
commitda6c18081be52753bd8d79dcc7db6438d887ae0c (patch)
tree4c76ab0374d2f1f5adc02e803694bbd7e5707a0e
parentf4b519ae12999d1200bf232986debb06b02ca444 (diff)
downloadecon-da6c18081be52753bd8d79dcc7db6438d887ae0c.tar.gz
econ-da6c18081be52753bd8d79dcc7db6438d887ae0c.tar.bz2
econ-da6c18081be52753bd8d79dcc7db6438d887ae0c.zip
econproxy: debugging: print encoding
-rw-r--r--econproxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/econproxy.c b/econproxy.c
index 93935dd..18006e8 100644
--- a/econproxy.c
+++ b/econproxy.c
@@ -490,6 +490,7 @@ rfb_retrieve_framebuffer_update(struct ep *ep,
if (ntohs(frame->width) == 0 || ntohs(frame->height) == 0)
goto err;
+ printf("encoding: %u\n", ntohl(frame->encoding));
switch (ntohl(frame->encoding)) {
case 0: /* RAW */
size = (ntohs(frame->width) * ntohs(frame->height)) * 32/8;