Re: Possible bug in notmuch_thread_get_authors ?

Subject: Re: Possible bug in notmuch_thread_get_authors ?

Date: Tue, 28 Nov 2017 08:32:48 -0400

To: Róman Joost, notmuch@notmuchmail.org

Cc:

From: David Bremner


Róman Joost <roman@bromeco.de> writes:

> Checking other bindings it seems there is an explicit check for NULL and
> we're wondering if that is really necessary.  Perhaps a patch could
> initialize `*authors` in the _resolve_thread_authors_string function to an
> empty string OR at least mention it in the API documentation that the
> return value can be NULL?

Certainly the documentation update is fine. It's not clear to me without
diving into the code whether returning NULL is signalling an error, or
just a bug.

d
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: