Revision 6853bc18

View differences:

streaming.c
316 316
    chunk_attributes_update_received(&c);
317 317
    chunk_unlock(c.id);
318 318
    dprintf("Received chunk %d from peer: %s\n", c.id, node_addr(from));
319
    if(chunk_log){fprintf(stderr, "TEO: Received chunk %d from peer: %s at: %"PRIu64" hopcount: %i\n", c.id, node_addr(from), gettimeofday_in_us(), chunk_get_hopcount(&c));}
319
    if(chunk_log){fprintf(stderr, "TEO: Received chunk %d from peer: %s at: %"PRIu64" hopcount: %i Size: %d bytes\n", c.id, node_addr(from), gettimeofday_in_us(), chunk_get_hopcount(&c), c.size);}
320 320
    output_deliver(&c);
321 321
    res = cb_add_chunk(cb, &c);
322 322
    reg_chunk_receive(c.id, c.timestamp, chunk_get_hopcount(&c), res==E_CB_OLD, res==E_CB_DUPLICATE);
......
523 523
        if(to) chunkID_set_add_chunk(to->bmap, c->id); //don't send twice ... assuming that it will actually arrive
524 524
        d++;
525 525
        reg_chunk_send(c->id);
526
        if(chunk_log){fprintf(stderr, "TEO: Sending chunk %d to peer: %s at: %"PRIu64" Result: %d\n", c->id, node_addr(toid), gettimeofday_in_us(), res);}
526
        if(chunk_log){fprintf(stderr, "TEO: Sending chunk %d to peer: %s at: %"PRIu64" Result: %d Size: %d bytes\n", c->id, node_addr(toid), gettimeofday_in_us(), res, c->size);}
527 527
      } else {
528 528
        fprintf(stderr,"ERROR sending chunk %d\n",c->id);
529 529
      }

Also available in: Unified diff