aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/tools/evolution-addressbook-export-list-folders.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/tools/evolution-addressbook-export-list-folders.c')
-rw-r--r--addressbook/tools/evolution-addressbook-export-list-folders.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/tools/evolution-addressbook-export-list-folders.c b/addressbook/tools/evolution-addressbook-export-list-folders.c
index 29c44dbeba..c1d2b41202 100644
--- a/addressbook/tools/evolution-addressbook-export-list-folders.c
+++ b/addressbook/tools/evolution-addressbook-export-list-folders.c
@@ -41,8 +41,8 @@ action_list_folders_init (ESourceRegistry *registry,
g_return_val_if_fail (E_IS_SOURCE_REGISTRY (registry), FAILED);
- if (p_actctx->action_list_folders.output_file != NULL) {
- if (!(outputfile = g_fopen (p_actctx->action_list_folders.output_file, "w"))) {
+ if (p_actctx->output_file != NULL) {
+ if (!(outputfile = g_fopen (p_actctx->output_file, "w"))) {
g_warning (_("Can not open file"));
exit (-1);
}