From 0f6d96a4f5a904fd95b96e13715b50befa6a0ee9 Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Thu, 16 Jul 2009 13:47:26 +0300 Subject: gzip: always autoclose the inner stream --- src/url.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/url.c') diff --git a/src/url.c b/src/url.c index c010ea8..e09ec4c 100644 --- a/src/url.c +++ b/src/url.c @@ -4,7 +4,7 @@ * Copyright (C) 2008 Timo Teräs * All rights reserved. * - * This program is free software; you can redistribute it and/or modify it + * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. See http://www.gnu.org/ for details. */ @@ -68,7 +68,7 @@ struct apk_istream *apk_istream_from_url(const char *url) struct apk_istream *apk_istream_from_url_gz(const char *file) { - return apk_bstream_gunzip(apk_bstream_from_url(file), TRUE); + return apk_bstream_gunzip(apk_bstream_from_url(file)); } struct apk_bstream *apk_bstream_from_url(const char *url) -- cgit v1.2.3-60-g2f50