Fix hed_file_insert() for blocks > FILE_BLOCK_SIZE
commit79cbcd0d4714b2a8f3877dadad38c6eac5dd7779
authorPetr Tesarik <petr@tesarici.cz>
Sat, 20 Oct 2012 05:19:58 +0000 (20 07:19 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Sat, 20 Oct 2012 05:19:58 +0000 (20 07:19 +0200)
tree09a6e6482c42a3c4367ffd68a4434589e7fcbdc1
parentb13c49c5351a97277f9d00701bf6cfd4cd25be1e
Fix hed_file_insert() for blocks > FILE_BLOCK_SIZE

The cursor was incorrectly added twice to the block refs. This would
cause a crash later...
libhed/file.c