]> Joshua Wise's Git repositories - netwatch.git/commitdiff
init xnum and ynum
authorJacob Potter <jdpotter@andrew.cmu.edu>
Sun, 14 Dec 2008 08:23:42 +0000 (03:23 -0500)
committerJacob Potter <jdpotter@andrew.cmu.edu>
Sun, 14 Dec 2008 08:23:42 +0000 (03:23 -0500)
net/rfb.c

index 232a2bb183feedce0d21003c4a6f82139196e3b0..13f6fb47e81849aa4acd4de541c4cdbb12b0ebfd 100644 (file)
--- 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
This page took 0.028707 seconds and 4 git commands to generate.