Changeset 96
- Timestamp:
- 05/11/05 12:01:27
- Files:
-
- openpgpsdk/trunk/src/compress.c (modified) (1 diff)
- openpgpsdk/trunk/src/packet-parse.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openpgpsdk/trunk/src/compress.c
r69 r96 29 29 ops_parser_content_t content; 30 30 unsigned length=*plength; 31 32 if(arg->region->indeterminate && arg->inflate_ret == Z_STREAM_END 33 && arg->stream.next_out == &arg->out[arg->offset]) 34 return OPS_R_EOF; 31 35 32 36 if(arg->region->length_read == arg->region->length) openpgpsdk/trunk/src/packet-parse.h
r69 r96 25 25 OPS_R_OK =0, /*!< success */ 26 26 OPS_R_EOF =1, /*!< reached end of file, no data has been returned */ 27 OPS_R_EARLY_EOF =2, /*!< could not read the requested amount of bytes and OPS_RETURN_LENGTH was not set */27 OPS_R_EARLY_EOF =2, /*!< could not read the requested amount of bytes and OPS_RETURN_LENGTH was not set and at least 1 byte was read */ 28 28 OPS_R_PARTIAL_READ =3, /*!< if OPS_RETURN_LENGTH is set and the buffer was not filled */ 29 29 };
