diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-08 07:07:19 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-08 07:07:19 +0000 |
commit | e5c03181ba3cd06f27e10677960575e44e7900a6 (patch) | |
tree | cfa341f7b9c46b2c7b692e11def79e72622152ab /src/prefs_customheader.c | |
parent | 38ad5762fb87ec8278108d4a8d06e32612e64a13 (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_customheader.c')
-rw-r--r-- | src/prefs_customheader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/prefs_customheader.c b/src/prefs_customheader.c index d44387b7..97df2bbf 100644 --- a/src/prefs_customheader.c +++ b/src/prefs_customheader.c @@ -314,7 +314,7 @@ void prefs_custom_header_read_config(PrefsAccount *ac) rcpath = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, CUSTOM_HEADER_RC, NULL); - if ((fp = fopen(rcpath, "rb")) == NULL) { + if ((fp = g_fopen(rcpath, "rb")) == NULL) { if (ENOENT != errno) FILE_OP_ERROR(rcpath, "fopen"); g_free(rcpath); ac->customhdr_list = NULL; @@ -359,7 +359,7 @@ void prefs_custom_header_write_config(PrefsAccount *ac) rcpath = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, CUSTOM_HEADER_RC, NULL); - if ((fp = fopen(rcpath, "rb")) == NULL) { + if ((fp = g_fopen(rcpath, "rb")) == NULL) { if (ENOENT != errno) FILE_OP_ERROR(rcpath, "fopen"); } else { all_hdrs = NULL; |