From baa30ad117e12c5182a78ede84c5103bea23616b Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 27 Jan 2000 16:50:45 +0000 Subject: See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner Koch --- g10/compress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'g10/compress.c') diff --git a/g10/compress.c b/g10/compress.c index 478da5684..48335ba89 100644 --- a/g10/compress.c +++ b/g10/compress.c @@ -96,7 +96,7 @@ do_compress( compress_filter_context_t *zfx, z_stream *zs, int flush, IOBUF a ) if( iobuf_write( a, zfx->outbuf, n ) ) { log_debug("deflate: iobuf_write failed\n"); - return G10ERR_WRITE_FILE; + return GPGERR_WRITE_FILE; } } while( zs->avail_in || (flush == Z_FINISH && zrc != Z_STREAM_END) ); return 0; @@ -264,7 +264,7 @@ handle_compressed( void *procctx, PKT_compressed *cd, memset( &cfx, 0, sizeof cfx ); if( cd->algorithm < 1 || cd->algorithm > 2 ) - return G10ERR_COMPR_ALGO; + return GPGERR_COMPR_ALGO; cfx.algo = cd->algorithm; iobuf_push_filter( cd->buf, compress_filter, &cfx ); -- cgit v1.2.3