X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=vss.c;h=72eb53a328e8018e55426d65a0e88fcdb80e9d95;hp=2acff1cb95b8e0b54a37eeb96aa653fd16443e4c;hb=534a94f441767947874cb15d18211edf758e9277;hpb=e4efba96ba3f2d77eb75fc27631e590c8be3c879 diff --git a/vss.c b/vss.c index 2acff1cb..72eb53a3 100644 --- a/vss.c +++ b/vss.c @@ -19,6 +19,7 @@ #include #include #include +#include #include "para.h" #include "error.h" @@ -611,7 +612,7 @@ static int setup_next_fec_group(struct fec_client *fc, struct vss_task *vsst) for (; i < k; i++) fc->src_data[i] = (const unsigned char *)buf; } - PARA_DEBUG_LOG("FEC group %d: %d chunks (%d - %d), %d bytes\n", + PARA_DEBUG_LOG("FEC group %u: %u chunks (%u - %u), %u bytes\n", g->num, g->num_chunks, g->first_chunk, g->first_chunk + g->num_chunks - 1, g->bytes ); @@ -1027,7 +1028,7 @@ static void vss_send(struct vss_task *vsst) } if (compute_next_fec_slice(fc, vsst) <= 0) continue; - PARA_DEBUG_LOG("sending %d:%d (%u bytes)\n", fc->group.num, + PARA_DEBUG_LOG("sending %u:%u (%u bytes)\n", fc->group.num, fc->current_slice_num, fc->group.slice_bytes); fc->fcp->send_fec(fc->sc, (char *)fc->enc_buf, fc->group.slice_bytes + FEC_HEADER_SIZE);