branches/zip: buf_page_get_gen(): When checking a guessed block,

also check buf_page_in_file().  This error was introduced in r1082.
This commit is contained in:
marko 2007-01-02 21:25:40 +00:00
parent 54c7dd7418
commit afeec303bd

View file

@ -1505,9 +1505,10 @@ loop:
block = guess;
if (offset != block->page.offset
|| space != block->page.space) {
|| space != block->page.space
|| !buf_page_in_file(&block->page)) {
block = NULL;
block = guess = NULL;
}
}