aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_filter.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-08 07:07:19 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-08 07:07:19 +0000
commite5c03181ba3cd06f27e10677960575e44e7900a6 (patch)
treecfa341f7b9c46b2c7b692e11def79e72622152ab /src/prefs_filter.c
parent38ad5762fb87ec8278108d4a8d06e32612e64a13 (diff)
added wrappers for C library function that take pathname arguments.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@478 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_filter.c')
-rw-r--r--src/prefs_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prefs_filter.c b/src/prefs_filter.c
index cd8abe1a..8af08f4b 100644
--- a/src/prefs_filter.c
+++ b/src/prefs_filter.c
@@ -623,7 +623,7 @@ static void prefs_filter_set_header_list(MsgInfo *msginfo)
list = NULL;
path = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, FILTER_HEADER_RC,
NULL);
- if ((fp = fopen(path, "rb")) != NULL) {
+ if ((fp = g_fopen(path, "rb")) != NULL) {
gchar buf[PREFSBUFSIZE];
while (fgets(buf, sizeof(buf), fp) != NULL) {