Revision 2cc1d4ec

View differences:

src/Cache/topo_proto.c
35 35
      int res;
36 36
      res = entry_dump(p, c, i, size - (p - payload));
37 37
      if (res < 0) {
38
        fprintf(stderr, "too many entries, sending only %d!\n", (include_me ? 1 : 0) + i);
39
        return p - payload;
38
        fprintf(stderr, "too many entries!\n");
39
        return -1;
40 40
      }
41 41
      p += res;
42 42
      --max_peers;

Also available in: Unified diff