Update to mut 1.8.3 with nenomutt 20170609

OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=169
This commit is contained in:
2017-06-13 08:54:24 +00:00
committed by Git OBS Bridge
parent bef692bbd0
commit d695ece300
16 changed files with 330 additions and 253 deletions

View File

@@ -3,8 +3,8 @@
1 file changed, 6 insertions(+), 4 deletions(-)
--- handler.c
+++ handler.c 2017-04-28 13:34:40.080448389 +0000
@@ -816,6 +816,7 @@ static int text_enriched_handler(BODY *a
+++ handler.c 2017-06-13 08:14:25.529321141 +0000
@@ -831,6 +831,7 @@ static int text_enriched_handler(struct
enum
{
TEXT,
@@ -12,7 +12,7 @@
LANGLE,
TAG,
BOGUS_TAG,
@@ -853,7 +854,7 @@ static int text_enriched_handler(BODY *a
@@ -868,7 +869,7 @@ static int text_enriched_handler(struct
{
if (state != ST_EOF)
{
@@ -21,7 +21,7 @@
state = ST_EOF;
else
bytes--;
@@ -861,6 +862,8 @@ static int text_enriched_handler(BODY *a
@@ -876,6 +877,8 @@ static int text_enriched_handler(struct
switch (state)
{
@@ -30,7 +30,7 @@
case TEXT:
switch (wc)
{
@@ -921,9 +924,8 @@ static int text_enriched_handler(BODY *a
@@ -936,9 +939,8 @@ static int text_enriched_handler(struct
enriched_flush(&stte, 1);
else
{
@@ -41,12 +41,12 @@
}
break;
@@ -1638,7 +1640,7 @@ void mutt_decode_attachment(BODY *b, STA
@@ -1653,7 +1655,7 @@ void mutt_decode_attachment(struct Body
* strip all trailing spaces to improve interoperability;
* if $text_flowed is unset, simply verbatim copy input
*/
-static int text_plain_handler(BODY *b, STATE *s)
+static int text_plain_handler(BODY *b __attribute__((unused)), STATE *s)
-static int text_plain_handler(struct Body *b, struct State *s)
+static int text_plain_handler(struct Body *b __attribute__((unused)), struct State *s)
{
char *buf = NULL;
size_t l = 0, sz = 0;