aboutsummaryrefslogtreecommitdiff
path: root/mailutils/mail.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-11-19 13:55:46 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-11-19 13:55:46 +0100
commit3bc4fc5857e2daba601442f95771a590bce915bc (patch)
tree9ba4897cd937b33d33860945f9655fb9d37170b7 /mailutils/mail.h
parent578b8171511f67a9c2afc5c6ae9745de9f9b5e42 (diff)
downloadbusybox-3bc4fc5857e2daba601442f95771a590bce915bc.tar.gz
makemime: content-type should default to application/octet-stream
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'mailutils/mail.h')
-rw-r--r--mailutils/mail.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/mailutils/mail.h b/mailutils/mail.h
index d1d783055..fa0c5b378 100644
--- a/mailutils/mail.h
+++ b/mailutils/mail.h
@@ -16,22 +16,15 @@ struct globals {
char *pass;
FILE *fp0; // initial stdin
char *opt_charset;
- char *content_type;
};
#define G (*ptr_to_globals)
#define timeout (G.timeout )
#define verbose (G.verbose )
#define opts (G.opts )
-//#define user (G.user )
-//#define pass (G.pass )
-//#define fp0 (G.fp0 )
-//#define opt_charset (G.opt_charset)
-//#define content_type (G.content_type)
#define INIT_G() do { \
SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
G.opt_charset = (char *)CONFIG_FEATURE_MIME_CHARSET; \
- G.content_type = (char *)"text/plain"; \
} while (0)
//char FAST_FUNC *parse_url(char *url, char **user, char **pass);