projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compilation warnings in compose.c and init.c
[apps/madmutt.git]
/
commands.c
diff --git
a/commands.c
b/commands.c
index
e64c8c2
..
bc05999
100644
(file)
--- a/
commands.c
+++ b/
commands.c
@@
-44,7
+44,6
@@
#include "pager.h"
#include <lib-crypt/crypt.h>
#include "mutt_idna.h"
#include "pager.h"
#include <lib-crypt/crypt.h>
#include "mutt_idna.h"
-#include "rfc1524.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
@@
-827,7
+826,6
@@
void mutt_edit_content_type (HEADER * h, BODY * b, FILE * fp)
char buf[LONG_STRING];
char obuf[LONG_STRING];
char tmp[STRING];
char buf[LONG_STRING];
char obuf[LONG_STRING];
char tmp[STRING];
- PARAMETER *p;
char charset[STRING];
char *cp;
char charset[STRING];
char *cp;
@@
-841,6
+839,7
@@
void mutt_edit_content_type (HEADER * h, BODY * b, FILE * fp)
snprintf (buf, sizeof (buf), "%s/%s", TYPE (b), b->subtype);
m_strcpy(obuf, sizeof(obuf), buf);
if (b->parameter) {
snprintf (buf, sizeof (buf), "%s/%s", TYPE (b), b->subtype);
m_strcpy(obuf, sizeof(obuf), buf);
if (b->parameter) {
+ PARAMETER *p;
ssize_t l;
for (p = b->parameter; p; p = p->next) {
ssize_t l;
for (p = b->parameter; p; p = p->next) {