aboutsummaryrefslogtreecommitdiff
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-05-27 13:51:12 -0300
committerDavid Bremner <david@tethera.net>2017-05-30 09:01:56 -0300
commit555e2abe9d838bcf16d7e44f8aea69ded8ffd7f4 (patch)
tree0bca2af191e18f3b3d150814cb79e0d42dd5f606 /notmuch-client.h
parent1e7dbf7abcf58407a5171e9030056f2ff9bec15a (diff)
cli/reply: direct all output for text format to gmime stream
Interleaving printfs with writes to the gmime stream worked when the gmime stream was backed by the FILE *stdout, but that is no longer the case. Create one stream and pass it into the two functions where needed, as well well as replacing printfs with g_mime_stream_printf.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-client.h b/notmuch-client.h
index a6f70eae..5692caf3 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -29,7 +29,7 @@
#include "compat.h"
-#include <gmime/gmime.h>
+#include "gmime-extra.h"
typedef GMimeCryptoContext notmuch_crypto_context_t;
/* This is automatically included only since gmime 2.6.10 */