[w3m-dev 02547] "message/*" as a kind of text type
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2001-11-26 Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
|
||||||
|
|
||||||
|
* [w3m-dev 02547] "message/*" as a kind of text type
|
||||||
|
* file.c (is_text_type): add message/*
|
||||||
|
|
||||||
2001-11-25 Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
|
2001-11-25 Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
|
||||||
|
|
||||||
* [w3m-dev 02535] Name conflicts in configure
|
* [w3m-dev 02535] Name conflicts in configure
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: file.c,v 1.14 2001/11/24 02:01:26 ukai Exp $ */
|
/* $Id: file.c,v 1.15 2001/11/25 17:41:57 ukai Exp $ */
|
||||||
#include "fm.h"
|
#include "fm.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include "myctype.h"
|
#include "myctype.h"
|
||||||
@@ -208,7 +208,8 @@ static int
|
|||||||
is_text_type(char *type)
|
is_text_type(char *type)
|
||||||
{
|
{
|
||||||
return (type == NULL || type[0] == '\0' ||
|
return (type == NULL || type[0] == '\0' ||
|
||||||
strncasecmp(type, "text/", 5) == 0);
|
strncasecmp(type, "text/", 5) == 0 ||
|
||||||
|
strncasecmp(type, "message/", sizeof("message/") - 1) == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|||||||
Reference in New Issue
Block a user