Browse Source

fix spurious unmappable file error

release/v0.1
jl777 8 years ago
parent
commit
20be996e69
  1. 5
      iguana/iguana_realtime.c

5
iguana/iguana_realtime.c

@ -928,6 +928,11 @@ void *iguana_RTrawdata(struct iguana_info *coin,bits256 hash2,uint8_t *data,int3
return(&ptr[sizeof(*recvlenp) + sizeof(checknumtx)]); return(&ptr[sizeof(*recvlenp) + sizeof(checknumtx)]);
} else printf("checklen.%d vs %d, checknumtx %d vs %d\n",checklen,(int32_t)(filesize - sizeof(checklen) - sizeof(checknumtx)),checknumtx,*numtxp); } else printf("checklen.%d vs %d, checknumtx %d vs %d\n",checklen,(int32_t)(filesize - sizeof(checklen) - sizeof(checknumtx)),checknumtx,*numtxp);
} }
else
{
OS_removefile(fname,0);
printf("(%s) removed to suppress errors\n",fname);
}
} }
} }
return(0); return(0);

Loading…
Cancel
Save