commit-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Mailutils branch, master, updated. release-2.2-794-gcd577bf


From: Sergey Poznyakoff
Subject: [SCM] GNU Mailutils branch, master, updated. release-2.2-794-gcd577bf
Date: Sun, 23 Oct 2016 17:48:33 +0000 (UTC)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mailutils".

http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=cd577bf9f6ce6fa3402b34f322516e49a9e72d00

The branch, master has been updated
       via  cd577bf9f6ce6fa3402b34f322516e49a9e72d00 (commit)
      from  d8194bb31044d2140a7b3c0e877ae59c20152a35 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit cd577bf9f6ce6fa3402b34f322516e49a9e72d00
Author: Sergey Poznyakoff <address@hidden>
Date:   Sun Oct 23 20:46:34 2016 +0300

    Bugfix

-----------------------------------------------------------------------

Summary of changes:
 mh/inc.c |    5 +++++
 mh/mhn.c |    3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/mh/inc.c b/mh/inc.c
index 987c1d1..ed9c011 100644
--- a/mh/inc.c
+++ b/mh/inc.c
@@ -348,6 +348,11 @@ main (int argc, char **argv)
   mh_getopt (&argc, &argv, options, 0, args_doc, prog_doc, extra_doc);
   if (!append_folder)
     append_folder = mh_global_profile_get ("Inbox", "inbox");
+  if (argc)
+    {
+      mu_error (_("unrecognized arguments"));
+      exit (1);
+    }
 
   mu_registrar_set_default_scheme ("mh");
 
diff --git a/mh/mhn.c b/mh/mhn.c
index 357c824..b3c2cb7 100644
--- a/mh/mhn.c
+++ b/mh/mhn.c
@@ -2808,8 +2808,9 @@ main (int argc, char **argv)
       mbox = mh_open_folder (mh_current_folder (), MU_STREAM_READ);
       mh_msgset_parse (&msgset, mbox, argc, argv, "cur");
       /* FIXME: Combine the three */
+      rc = 0;
       if (list_option)
-       rc = mhn_list ();
+       rc |= mhn_list ();
       if (show_option)
        rc |= mhn_show ();
       if (store_option)


hooks/post-receive
-- 
GNU Mailutils



reply via email to

[Prev in Thread] Current Thread [Next in Thread]