2003-07-04 09:06:12 -04:00
|
|
|
$OpenBSD: patch-src_procmime_c,v 1.2 2003/07/04 13:06:13 wilfried Exp $
|
|
|
|
--- src/procmime.c.orig Thu May 29 04:13:15 2003
|
|
|
|
+++ src/procmime.c Thu May 29 04:14:20 2003
|
|
|
|
@@ -1202,7 +1202,7 @@ GList *procmime_get_mime_type_list(void)
|
Import sylpheed-claws 0.8.11; sumbitted by Jim Geovedi <jim@corebsd.or.id>
Sylpheed-claws is the bleeding edge branch of Sylpheed, an e-mail
client and news reader based on GTK+. Many features are supported
including POP3, IMAP, NNTP, multiple accounts, threading, filtering,
MIME attachments, APOP, SMTP AUTH, SSL, IPv6, GnuPG, internalization,
and more.
2003-04-17 06:13:58 -04:00
|
|
|
if (mime_type_list)
|
|
|
|
return mime_type_list;
|
|
|
|
|
|
|
|
- if ((fp = fopen("/etc/mime.types", "rb")) == NULL) {
|
|
|
|
+ if ((fp = fopen("/var/www/conf/mime.types", "rb")) == NULL) {
|
|
|
|
if ((fp = fopen(SYSCONFDIR "/mime.types", "rb")) == NULL) {
|
|
|
|
FILE_OP_ERROR(SYSCONFDIR "/mime.types", "fopen");
|
|
|
|
return NULL;
|