Revision 4dea7ec0 src/Tests/chunk_sending_test.c

View differences:

src/Tests/chunk_sending_test.c
101 101
    c.attributes_size = 0;
102 102

  
103 103
    dst = create_node(dst_ip, dst_port);
104
    sendChunk(dst, &c);
104
    sendChunk(dst, &c, 0);
105 105
    nodeid_free(dst);
106 106
    free(c.data);
107 107
  } else {
......
117 117

  
118 118
      return -1;
119 119
    }
120
    res = decodeChunk(&c, buff + 1, res);
120
    res = decodeChunk(&c, buff + 1 + 2, res);
121 121
    fprintf(stdout, "Decoding: %d\n", res);
122 122
    chunk_print(stdout, &c);
123 123
    free(c.data);

Also available in: Unified diff