Commit 5051c609 5051c6097771457aa5f77d4e3ee3ac4ffd4791bf by Sergey Poznyakoff

Minor bugfixes.

1 parent 0e2ce333
......@@ -253,14 +253,14 @@ main (int argc, char **argv)
if ((rc = mu_mailbox_get_message (input, n, &imsg)) != 0)
{
mh_error (_("%d: cannot get message: %s"),
n, mu_strerror (errno));
n, mu_strerror (rc));
continue;
}
if ((rc = mu_mailbox_append_message (output, imsg)) != 0)
{
mh_error (_("%d: error appending message: %s"),
n, mu_strerror (errno));
n, mu_strerror (rc));
continue;
}
......
......@@ -156,7 +156,7 @@ action_list (void *item, void *data)
}
static int
list_private (char *name, char *value, char *data)
list_private (char *name, char *value, void *data)
{
int nlen;
......@@ -174,7 +174,7 @@ list_private (char *name, char *value, char *data)
}
static int
list_public (char *name, char *value, char *data)
list_public (char *name, char *value, void *data)
{
printf ("%s: %s\n", name, value);
return 0;
......