Revision 7bcfc98d

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);
src/Tests/chunk_signaling_test.c
90 90
    struct nodeID *owner;
91 91
    struct nodeID *remote;
92 92
    enum signaling_type sig_type;
93
    int max_deliver = 0, trans_id = 0;
93
    int max_deliver = 0;
94
    uint16_t trans_id = 0;
94 95

  
95 96
    ret = recv_from_peer(my_sock, &remote, buff, BUFFSIZE);
96 97

  

Also available in: Unified diff