From da6c18081be52753bd8d79dcc7db6438d887ae0c Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 11 Mar 2013 16:27:03 +0100 Subject: econproxy: debugging: print encoding --- econproxy.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit