summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;