Revision 3bae2f99

View differences:

som/ChunkTrading/chunk_signaling.c
124 124
    sigmex->third_peer = 0;
125 125
    meta_len = sizeof(*sigmex) - 1;
126 126
    if (owner_id) {
127
        meta_len += nodeid_dump(&sigmex->third_peer, owner_id);
127
      meta_len += nodeid_dump(&sigmex->third_peer, owner_id, 1024 - meta_len);
128 128
    }
129 129
    buff_len = 1 + (cset ? chunkID_set_size(cset):0) * 4 + 12 + meta_len; // this should be enough
130 130
    buff = malloc(buff_len);

Also available in: Unified diff