Skip to content

Commit

Permalink
* mu-cmd-find: update for the changes in mu-msg-gmime
Browse files Browse the repository at this point in the history
  • Loading branch information
djcb committed Feb 8, 2010
1 parent b19dabe commit 11ed5c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mu-cmd-find.c
Expand Up @@ -132,7 +132,7 @@ print_rows (MuMsgIterXapian *iter, const char *fields)
while (*myfields) {
const MuMsgField* field;
field = mu_msg_field_from_shortcut (*myfields);
if (!field || !mu_msg_field_is_xapian_enabled (field))
if (!field || !mu_msg_field_xapian_value (field))
len += printf ("%c", *myfields);
else
len += printf ("%s",
Expand Down Expand Up @@ -343,7 +343,7 @@ view_file (const gchar *path, const gchar *fields)
const char *field;
time_t date;

msg = mu_msg_gmime_new (path);
msg = mu_msg_gmime_new (path, NULL);
if (!msg)
return FALSE;

Expand Down

0 comments on commit 11ed5c7

Please sign in to comment.