diff options
Diffstat (limited to 'src/account.c')
-rw-r--r-- | src/account.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/account.c b/src/account.c index 82348f8c..ce2f2689 100644 --- a/src/account.c +++ b/src/account.c @@ -137,7 +137,7 @@ void account_read_config_all(void) debug_print(_("Reading all config for each account...\n")); rcpath = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, ACCOUNT_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); return; @@ -290,7 +290,7 @@ PrefsAccount *account_find_from_message_file(const gchar *file) g_return_val_if_fail(file != NULL, NULL); - if ((fp = fopen(file, "rb")) == NULL) { + if ((fp = g_fopen(file, "rb")) == NULL) { FILE_OP_ERROR(file, "fopen"); return NULL; } |