Revision c16b7c6c src/Cache/blist_cache.c

View differences:

src/Cache/blist_cache.c
366 366
  b[size++] = c->entries[i].flags;
367 367
  res = nodeid_dump(b + size, c->entries[i].id, max_write_size - size);
368 368
  if (res < 0 ) {
369
    fprintf (stderr,"cavolo1\n");
370 369
    return -1;
371 370
  }
372 371
  size += res;
373 372
  if (c->metadata_size) {
374 373
    if (c->metadata_size > max_write_size - size) {
375
      fprintf (stderr,"cavolo2\n");
376 374
      return -1;
377 375
    }
378 376
    memcpy(b + size, c->metadata + c->metadata_size * i, c->metadata_size);

Also available in: Unified diff