.
OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=92
This commit is contained in:
parent
81a8190f4d
commit
e4a86a8172
@ -1,6 +1,6 @@
|
|||||||
--- handler.c
|
--- handler.c
|
||||||
+++ handler.c
|
+++ handler.c 2013-04-22 00:00:00.000000000 +0000
|
||||||
@@ -778,7 +778,7 @@ static void enriched_set_flags (const wchar_t *tag, struct enriched_state *stte)
|
@@ -778,7 +778,7 @@ static void enriched_set_flags (const wc
|
||||||
static int text_enriched_handler (BODY *a, STATE *s)
|
static int text_enriched_handler (BODY *a, STATE *s)
|
||||||
{
|
{
|
||||||
enum {
|
enum {
|
||||||
@ -9,7 +9,7 @@
|
|||||||
} state = TEXT;
|
} state = TEXT;
|
||||||
|
|
||||||
long bytes = a->length;
|
long bytes = a->length;
|
||||||
@@ -807,7 +807,7 @@ static int text_enriched_handler (BODY *a, STATE *s)
|
@@ -807,7 +807,7 @@ static int text_enriched_handler (BODY *
|
||||||
{
|
{
|
||||||
if (state != ST_EOF)
|
if (state != ST_EOF)
|
||||||
{
|
{
|
||||||
@ -18,7 +18,7 @@
|
|||||||
state = ST_EOF;
|
state = ST_EOF;
|
||||||
else
|
else
|
||||||
bytes--;
|
bytes--;
|
||||||
@@ -815,6 +815,8 @@ static int text_enriched_handler (BODY *a, STATE *s)
|
@@ -815,6 +815,8 @@ static int text_enriched_handler (BODY *
|
||||||
|
|
||||||
switch (state)
|
switch (state)
|
||||||
{
|
{
|
||||||
@ -27,7 +27,7 @@
|
|||||||
case TEXT :
|
case TEXT :
|
||||||
switch (wc)
|
switch (wc)
|
||||||
{
|
{
|
||||||
@@ -875,9 +877,8 @@ static int text_enriched_handler (BODY *a, STATE *s)
|
@@ -875,9 +877,8 @@ static int text_enriched_handler (BODY *
|
||||||
enriched_flush (&stte, 1);
|
enriched_flush (&stte, 1);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -38,3 +38,29 @@
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@@ -1490,7 +1491,7 @@ void mutt_decode_attachment (BODY *b, ST
|
||||||
|
* 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)
|
||||||
|
{
|
||||||
|
char *buf = NULL;
|
||||||
|
size_t l = 0, sz = 0;
|
||||||
|
@@ -1518,7 +1519,6 @@ int mutt_body_handler (BODY *b, STATE *s
|
||||||
|
int decode = 0;
|
||||||
|
int plaintext = 0;
|
||||||
|
FILE *fp = NULL;
|
||||||
|
- char tempfile[_POSIX_PATH_MAX];
|
||||||
|
handler_t handler = NULL;
|
||||||
|
LOFF_T tmpoffset = 0;
|
||||||
|
size_t tmplength = 0;
|
||||||
|
@@ -1528,6 +1528,8 @@ int mutt_body_handler (BODY *b, STATE *s
|
||||||
|
#ifdef HAVE_FMEMOPEN
|
||||||
|
char *temp;
|
||||||
|
size_t tempsize;
|
||||||
|
+#else
|
||||||
|
+ char tempfile[_POSIX_PATH_MAX];
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int oflags = s->flags;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user