]> Joshua Wise's Git repositories - netwatch.git/blobdiff - net/rfb.c
init xnum and ynum
[netwatch.git] / 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.026357 seconds and 4 git commands to generate.