From 9eee8073b16fad5359206bb7d832293ce878dd16 Mon Sep 17 00:00:00 2001 From: Jacob Potter Date: Sun, 14 Dec 2008 03:23:42 -0500 Subject: [PATCH 1/1] init xnum and ynum --- net/rfb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/rfb.c b/net/rfb.c index 232a2bb..13f6fb4 100644 --- a/net/rfb.c +++ b/net/rfb.c @@ -594,6 +594,8 @@ static err_t rfb_accept(void *arg, struct tcp_pcb *pcb, err_t err) { state->writepos = 0; state->update_requested = 0; state->send_state = SST_IDLE; + state->chunk_xnum = 0; + state->chunk_ynum = 0; memset(state->checksums, 0, sizeof(state->checksums)); /* XXX: update_server_info() should be called from the 64ms timer, and deal -- 2.43.0