aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/conduits')
-rw-r--r--calendar/conduits/calendar/calendar-conduit.c3
-rw-r--r--calendar/conduits/todo/todo-conduit.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c
index 0ed563b574..868d7bddd7 100644
--- a/calendar/conduits/calendar/calendar-conduit.c
+++ b/calendar/conduits/calendar/calendar-conduit.c
@@ -197,7 +197,8 @@ start_calendar_server (ECalConduitContext *ctxt)
start_calendar_server_cb, ctxt);
LOG (" calling cal_client_open_calendar\n");
- cal_client_open_calendar (ctxt->client, ctxt->calendar_file, FALSE);
+ if (!cal_client_open_calendar (ctxt->client, ctxt->calendar_file, FALSE))
+ return -1;
/* run a sub event loop to turn cal-client's async load
notification into a synchronous call */
diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c
index fe50a7869b..f0dfb56b14 100644
--- a/calendar/conduits/todo/todo-conduit.c
+++ b/calendar/conduits/todo/todo-conduit.c
@@ -201,7 +201,8 @@ start_calendar_server (EToDoConduitContext *ctxt)
start_calendar_server_cb, ctxt);
LOG (" calling cal_client_open_calendar\n");
- cal_client_open_calendar (ctxt->client, ctxt->calendar_file, FALSE);
+ if (!cal_client_open_calendar (ctxt->client, ctxt->calendar_file, FALSE))
+ return -1;
/* run a sub event loop to turn cal-client's async load
notification into a synchronous call */