diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-05-02 09:19:45 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-05-03 06:57:27 -0300 |
| commit | bbe3015b3ea503b2834811f6cdd7276f9742faa1 (patch) | |
| tree | 767ac1618dcb7140bf70545daeffdaa0182592d6 /notmuch-search.c | |
| parent | 582f255aeba3998428fa489dc22c735bd0b88143 (diff) | |
gmime-cleanup: pass NULL arguments explicitly where GMime 3.0 expects it
Several GMime 2.6 functions sprouted a change in the argument order in
GMime 3.0. We had a compatibility layer here to be able to handle
compiling against both GMime 2.6 and 3.0. Now that we're using 3.0
only, rip out the compatibility layer for those functions with changed
argument lists, and explicitly use the 3.0 argument lists.
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'notmuch-search.c')
| -rw-r--r-- | notmuch-search.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch-search.c b/notmuch-search.c index 8f467db4..e2dee418 100644 --- a/notmuch-search.c +++ b/notmuch-search.c @@ -364,7 +364,7 @@ print_mailbox (const search_context_t *ctx, const mailbox_t *mailbox) /* name_addr has the name part quoted if necessary. Compare * 'John Doe <john@doe.com>' vs. '"Doe, John" <john@doe.com>' */ - name_addr = internet_address_to_string (ia, false); + name_addr = internet_address_to_string (ia, NULL, false); if (format->is_text_printer) { if (ctx->output & OUTPUT_COUNT) { @@ -446,7 +446,7 @@ process_address_header (const search_context_t *ctx, const char *value) if (value == NULL) return; - list = internet_address_list_parse_string (value); + list = internet_address_list_parse (NULL, value); if (list == NULL) return; |
