Branch: Tag:

2003-04-15

2003-04-15 13:45:23 by Marcus Comstedt <marcus@mc.pp.se>

Need to recheck header after rewind.

Rev: src/modules/Gz/module.pmod.in:1.12

1: - // $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:    file_pos = 0;    read_buf = "";    crc = crc32(""); +  if(!check_header()) +  return -1;    } else    pos -= file_pos;    while(pos > 0) {