]> Joshua Wise's Git repositories - netwatch.git/commitdiff
Merge nyus.joshuawise.com:/storage/git/netwatch
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Mon, 15 Dec 2008 00:55:47 +0000 (19:55 -0500)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Mon, 15 Dec 2008 00:55:47 +0000 (19:55 -0500)
net/rfb.c
video/text.c

index fff91bbb91e1374bfd694c1d9f7610e4f65d7da8..4f030921709bd0992e0f568a461c32d9716ebf58 100644 (file)
--- a/net/rfb.c
+++ b/net/rfb.c
@@ -255,7 +255,6 @@ static void send_fsm(struct tcp_pcb *pcb, struct rfb_state *state) {
                                /* Checksum gets set in data block, AFTER the data has been sent. */
                        }
 
-                       outputf("actually sent");
                        state->chunk_actually_sent = 1;
 
                        /* Send a header */
@@ -367,10 +366,10 @@ enum fsm_result {
 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);
-
+*/
        switch(state->state) {
        case ST_BEGIN:
                if (state->writepos < 12) return NEEDMORE;
@@ -553,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);
+/*
        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);
@@ -566,8 +567,6 @@ static err_t rfb_recv(void *arg, struct tcp_pcb *pcb,
                        goto doneprocessing;
 
                case OK:
-                       outputf("RFB FSM: ok");
-
                        if (state->readpos == state->writepos) {
                                state->readpos = 0;
                                state->writepos = 0;
index 2d71dc1edf8ae4f2f3b3ea2902742c07a5b1f192..4f35f97b34822f857a0e478d06d0bf9fdef11a3a 100644 (file)
@@ -69,9 +69,9 @@ void text_render(char *buf, int x, int y, int w, int h)
        unsigned int cx, cy;
        unsigned char ch, at, font;
        smram_state_t old_state = smram_save_state();
-       
+/*
        outputf("text_render: (%d,%d),(%d,%d)", x, y, w, h);
-       
+*/     
        smram_aseg_set_state(SMRAM_ASEG_SMMCODE);
        for (cy = y; cy < (y + h); cy++)
        {
This page took 0.02905 seconds and 4 git commands to generate.