diff --git a/src/mu-cmd-find.c b/src/mu-cmd-find.c index 05e71ddf..13685e21 100644 --- a/src/mu-cmd-find.c +++ b/src/mu-cmd-find.c @@ -138,7 +138,7 @@ run_query_format (MuMsgIter *iter, MuConfig *opts, return mu_output_links (iter, opts->linksdir, opts->clearlinks, count); case FORMAT_PLAIN: - return mu_output_plain (iter, opts->fields, opts->summary_len, + return mu_output_plain (iter, opts->fields, opts->summary, count); case FORMAT_XML: return mu_output_xml (iter, count); diff --git a/src/mu-output.h b/src/mu-output.h index 5eddf057..e9cf0fa8 100644 --- a/src/mu-output.h +++ b/src/mu-output.h @@ -33,13 +33,14 @@ G_BEGIN_DECLS * * @param iter iterator pointing to a message row * @param fields the fields to print (see MuMsgFields) - * @param summary_len number of lines to include in message summary + * @param summary whether we should include a summary (TRUE) or not (FALSE + * ) * @param count output param to receive the number of messages found, or NULL * * @return TRUE if the printing succeeded, FALSE in case of error */ gboolean mu_output_plain (MuMsgIter *iter, const char *fields, - size_t summary_len, size_t *count); + gboolean summary, size_t *count); /** * output the search results (MsgIter) as a maildir of symlinks