Skip to content
Snippets Groups Projects
Commit b132a0cb authored by Marcus Comstedt's avatar Marcus Comstedt
Browse files

Need to recheck header after rewind.

Rev: src/modules/Gz/module.pmod.in:1.12
parent 6794d53a
No related branches found
No related tags found
No related merge requests found
// $Id: module.pmod.in,v 1.11 2003/04/15 13:42:34 marcus Exp $
// $Id: module.pmod.in,v 1.12 2003/04/15 13:45:23 marcus Exp $
#pike __REAL_VERSION__
inherit @module@;
......@@ -207,6 +207,8 @@ class _file {
file_pos = 0;
read_buf = "";
crc = crc32("");
if(!check_header())
return -1;
} else
pos -= file_pos;
while(pos > 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment