]> Joshua Wise's Git repositories - netwatch.git/blobdiff - net/rfb.c
Merge nyus.joshuawise.com:/storage/git/netwatch
[netwatch.git] / net / rfb.c
index cd813eb6357ea9b0a5835fc3c457dbed304e13e4..9b9d4e9c8e947b3063d5bd29249441467bc6d128 100644 (file)
--- 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
This page took 0.02522 seconds and 4 git commands to generate.