]> Joshua Wise's Git repositories - netwatch.git/commitdiff
trim some more outputfs
authorJacob Potter <jdpotter@andrew.cmu.edu>
Mon, 15 Dec 2008 00:34:02 +0000 (19:34 -0500)
committerJacob Potter <jdpotter@andrew.cmu.edu>
Mon, 15 Dec 2008 00:34:02 +0000 (19:34 -0500)
net/rfb.c

index 7b92208b25113d88bb1ef91750e6a299f45f7f84..8c55cccaabbcb871eede579593d03fca095776c3 100644 (file)
--- a/net/rfb.c
+++ b/net/rfb.c
@@ -366,10 +366,10 @@ enum fsm_result {
 static enum fsm_result recv_fsm(struct tcp_pcb *pcb, struct rfb_state *state) {
        int i;
        int pktsize;
 static enum fsm_result recv_fsm(struct tcp_pcb *pcb, struct rfb_state *state) {
        int i;
        int pktsize;
-
+/*
        outputf("RFB FSM: st %d rp %d wp %d", state->state, state->readpos,
                state->writepos);
        outputf("RFB FSM: st %d rp %d wp %d", state->state, state->readpos,
                state->writepos);
-
+*/
        switch(state->state) {
        case ST_BEGIN:
                if (state->writepos < 12) return NEEDMORE;
        switch(state->state) {
        case ST_BEGIN:
                if (state->writepos < 12) return NEEDMORE;
@@ -552,7 +552,9 @@ static err_t rfb_recv(void *arg, struct tcp_pcb *pcb,
        }
 
        copylen = pbuf_copy_partial(p, state->data + state->writepos, p->tot_len, 0);
        }
 
        copylen = pbuf_copy_partial(p, state->data + state->writepos, p->tot_len, 0);
+/*
        outputf("RFB: Processing %d, wp %d, cp %d", p->tot_len, state->writepos, copylen);
        outputf("RFB: Processing %d, wp %d, cp %d", p->tot_len, state->writepos, copylen);
+*/
        state->writepos += p->tot_len;
 
        tcp_recved(pcb, p->tot_len);
        state->writepos += p->tot_len;
 
        tcp_recved(pcb, p->tot_len);
This page took 0.029287 seconds and 4 git commands to generate.