From a291c76cd4c74f2b8e96c14d25f60280028a5c4a Mon Sep 17 00:00:00 2001 From: Damien Goutte-Gattat Date: Mon, 26 Feb 2018 13:55:39 +0000 Subject: [PATCH 1/2] Accept -U and -D options. Only the long forms --user-agent and --date were accepted (doh!). --- src/fmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fmail.c b/src/fmail.c index a5051b3..415ffad 100644 --- a/src/fmail.c +++ b/src/fmail.c @@ -559,7 +559,7 @@ main(int argc, char *argv[]) ctx.footer = NULL; ctx.input = stdin; - while ( (c = getopt_long(argc, argv, "hvsa:ef:H:F:T:C:S:", + while ( (c = getopt_long(argc, argv, "hvsa:ef:H:F:T:C:S:UD", options, NULL)) != -1 ) { switch ( c ) { case 'h': From 577caa6083f5403718cdd3c20c3778909177a76e Mon Sep 17 00:00:00 2001 From: Damien Goutte-Gattat Date: Mon, 26 Feb 2018 13:57:43 +0000 Subject: [PATCH 2/2] Prepare point release. --- AUTHORS | 2 +- NEWS | 7 ++++++- configure.ac | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/AUTHORS b/AUTHORS index c6fb09b..6deee6b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1 +1 @@ -Damien Goutte-Gattat +Damien Goutte-Gattat diff --git a/NEWS b/NEWS index fcba84e..338367a 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,9 @@ -Changes in fmail 0.1.0 (2018-02-25) +Changes in fmail 0.1.2 (2018-02-26) + + * Correctly accept -U and -D options. + + +Changes in fmail 0.1.1 (2018-02-25) * Make User-Agent and Date headers optional. * Specify correct hash algorithm in micalg parameter. diff --git a/configure.ac b/configure.ac index c2abc09..33ecc6e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Configure template for the fmail package -AC_INIT([fmail], [0.1.1], +AC_INIT([fmail], [0.1.2], [dgouttegattat@incenp.org]) AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_MACRO_DIR([m4])