From: Joshua Wise Date: Sun, 14 Dec 2008 08:26:13 +0000 (-0500) Subject: Merge nyus.joshuawise.com:/storage/git/netwatch X-Git-Url: http://git.joshuawise.com/netwatch.git/commitdiff_plain/81fdcc99873a7926940642e33c2e2b25b11a689c?hp=53b39ad0d16a7375bc8356da990b2a30b82c9763 Merge nyus.joshuawise.com:/storage/git/netwatch --- diff --git a/net/rfb.c b/net/rfb.c index cd813eb..9b9d4e9 100644 --- a/net/rfb.c +++ b/net/rfb.c @@ -595,6 +595,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