Revision 661d190d som/TopologyManager/ncast.c

View differences:

som/TopologyManager/ncast.c
84 84

  
85 85
int topParseData(const uint8_t *buff, int len)
86 86
{
87
  int dummy;
88

  
87 89
  if (len) {
88 90
    const struct topo_header *h = (const struct topo_header *)buff;
89 91
    struct peer_cache *new, *remote_cache;
......
100 102
      topo_reply(buff + sizeof(struct topo_header), len - sizeof(struct topo_header), local_cache);
101 103
    }
102 104
    remote_cache = entries_undump(buff + sizeof(struct topo_header), len - sizeof(struct topo_header));
103
    new = merge_caches(local_cache, remote_cache, cache_size);
105
    new = merge_caches(local_cache, remote_cache, cache_size, &dummy);
104 106
    cache_free(remote_cache);
105 107
    if (new != NULL) {
106 108
      cache_free(local_cache);

Also available in: Unified diff