Support gzipped message file
David Bremner
david at tethera.net
Tue Apr 30 10:41:59 PDT 2019
David Bremner <david at tethera.net> writes:
> David Bremner <david at tethera.net> writes:
>
>> This obsoletes the WIP series id:20190324033244.12909-2-david at tethera.net
>>
>> Compared to the WIP version, this has some general cleanup, and a
>> switch to using an open file descriptor to create a stream rather than
>> a FILE*.
>
> I have made two minor changes in git
>
> diff --git a/test/T750-gzip.sh b/test/T740-gzip.sh
> similarity index 100%
> rename from test/T750-gzip.sh
> rename to test/T740-gzip.sh
> diff --git a/util/gmime-extra.c b/util/gmime-extra.c
> index e422fec3..b3f91c55 100644
> --- a/util/gmime-extra.c
> +++ b/util/gmime-extra.c
> @@ -26,8 +26,7 @@ _gzfile_maybe_filter (GMimeStream *file_stream) {
> if (! gzstream)
> return NULL;
>
> - /* ignore filter id */
> - (void)g_mime_stream_filter_add ((GMimeStreamFilter *)gzstream, gzfilter);
> + g_mime_stream_filter_add ((GMimeStreamFilter *)gzstream, gzfilter);
> return gzstream;
> } else {
> return file_stream;
That's a reversed diff, of course.
More information about the notmuch
mailing list